[thelist] printing images (coupons)

Alastair Murdoch alastair at 19nine78.net
Sat Jan 5 09:20:13 CST 2002

>>I was wondering what my options are for an online coupon
>>in .gif or .jpg format, to be printed out without using
>>up alot of extra ink on the end users printer.

just off the top of my head, would a print stylesheet do the job??

use if to set display:none on the elements you don't want to print.
Obviously will only work on browsers that support it (ie5 and above i
think), but certainly a neat and efficient way, preferable to frames imho.


<link rel="stylesheet" type="text/css" media="print" href="print.css">

placed in the head of the document AFTER you current stylesheet (if your
using one)

Sorry I can't offer more, haven't actually used a print stylesheet myself :)



More information about the thelist mailing list