[thelist] insert image using content: style?

aardvark roselli at earthlink.net
Fri Dec 27 02:39:02 CST 2002


> From: Lachlan Cannon <luminosity at members.evolt.org>
>
> How about including both the print and non-print logos in your HTML.
> Then, set the non-print logo to display: none in all media, and then
> in your print stylesheet set it to block and the normal logo to none.

that's what i'm now doing:
http://roselli.org/xfer/content_leadership.asp

> Put the height and width of the print image to 0, or 1 if you can't do
> zero so older browsers also won't show it up, and explicitly set the
> size in your print styles. Then chuck an alt="" on it so that screen
> readers and such only act as if one logo image is there.
>
> A bit of a hack, I guess, but I can't think fo anything else.

ok, that width/height thing is a bit of a hack... maybe i'll look
into it since hacks are allowed on this one...

--
my latest book project:
  Web Graphics for Non-Designers
  http://amazon.com/exec/obidos/ASIN/1904151159/evoltorg02-20
  ISBN: 1904151159






More information about the thelist mailing list