Hi,

I've got this page as an example of the page im trying to print: http://d8dmbzfz8f58l.cloudfront.net/coupon.html

The problems are on ie6/7, the print style sheet is not applying as it looks on screen with FF. and on some browsers the text in the div class small does not appear or the barcode (base64 embedded png). any tips to how to make this print more like how it is displayed on screen would be appreciated.

Thanks

3 answers

0
points
This was chosen as the best answer

Your best bet for true cross-browser compatibility is to generate a PDF (or an image).

I've never even tried to get IE6 to render a non-screen stylesheet, but given what it does with the regular ones, I can't imagine it's ever going to be very good no matter what you do.

Answered about 9 years ago by Nathan Duran
  • I'll use princexml to generate a pdf Matthew Ford about 9 years ago
1
point

to me it displays properly in ie6/7, only the png is not showing, and this is probably because of the path of the image, probably it's not understood by IE: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAT8AAAB4EAYAAADUHCmIAAAABmJLR0T///// //8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAACv0lEQVR42u3Y0WqDMABA 0WX//8/dS2FQGGqMCrvnvBTaGGONcHG83r4AAPjXvp9eAAAA9xB+AAARwg8A IEL4AQBECD8AgAjhBwAQIfwAACKEHwBAhPADAIhYHn5jjDHG7+fn93+Nn513 7/x3r2vvvFvXNXs9W9/fvd7ZcbPrPfr/nF3v2f2593yz5121/7fmO7re2ft6 9vdV+33VvKuf46v2w1X3be/4reNXXYd5n5131XO0ddzR88+OP/r8HF3HUd74 AQBECD8AgAjhBwAQIfwAACKEHwBAhPADAIgQfgAAEcIPACBC+AEARAg/AIAI 4QcAECH8AAAihB8AQITwAwCIEH4AABHCDwAgQvgBAEQIPwCACOEHABAh/AAA IoQfAECE8AMAiBB+AAARwg8AIEL4AQBECD8AgAjhBwAQIfwAACKEHwBAhPAD AIgQfgAAEcIPACBC+AEARAg/AIAI4QcAECH8AAAihB8AQITwAwCIEH4AABHC DwAgQvgBAEQIPwCACOEHABAh/AAAIoQfAECE8AMAiBB+AAARwg8AIEL4AQBE CD8AgAjhBwAQIfwAACKEHwBAhPADAIgQfgAAEcIPACBC+AEARAg/AIAI4QcA ECH8AAAihB8AQITwAwCIEH4AABHCDwAgQvgBAEQIPwCACOEHABAh/AAAIoQf AECE8AMAiBB+AAARwg8AIEL4AQBECD8AgAjhBwAQIfwAACKEHwBAhPADAIgQ fgAAEcIPACBC+AEARAg/AIAI4QcAECH8AAAihB8AQITwAwCIEH4AABHCDwAg QvgBAEQIPwCACOEHABAh/AAAIoQfAECE8AMAiBB+AAARwg8AIEL4AQBECD8A gAjhBwAQMV5vTy8EAIBreeMHABAh/AAAIoQfAECE8AMAiBB+AAARwg8AIEL4 AQBECD8AgAjhBwAQ8QPn7xRjrehmuAAAAABJRU5ErkJggg=="

Answered about 9 years ago by adelacreative
Doug 1095
1
point

IE6 and IE7 do not support data URIs.

Answered about 9 years ago by Doug
  • Ok thanks, will sever them as proper images Matthew Ford about 9 years ago