[thelist] insert image using content: style?

aardvark roselli at earthlink.net
Thu Dec 26 10:54:01 CST 2002


so i've got a lovely design that when printed, references a print CSS
file that converts the colors, units, and the like to print-friendly... it
also hides all the unnecessary navigation and other elements on
the page...

sadly, the logo also goes away, since it's formatted for a red page
background...

so, i'm trying to insert my print-friendly logo directly before the
breadcrumb (which i include in the printed page so the user could
find his/her way back regardless of the URL printed on the page),
but it isn't quite doing what i want...

below is my CSS (all on one line in the CSS file):

#Bread:before	{	content : "<p><img src='print_logo.gif'
width='500' height='100' alt='' border='0'><br></p>" ; }

i've also tried:

#Bread:before	{	content : "<p><img src=\"print_logo.gif\"
width=\"500\" height=\"100\" alt=\"\" border=\"0\"><br></p>" ; }

but in O6 and N7, it just writes the code to the page, instead of
rendering an image...

so what am i doing wrong?


--
Read the evolt.org case study
Usability: The Site Speaks for Itself
http://amazon.com/exec/obidos/ASIN/1904151035/evoltorg02-20
ISBN: 1904151035



More information about the thelist mailing list