Sent by Big John on 21 December 2002 17:05
Alex Robinson wrote:
> I want to do something like this:
> >>>>
> a:before
> {
content: "<img src='image.gif' width='20' height='20' alt='' /><br />";
> }
> <<<<
> However this will simply insert the string, rather than the image. The
> br/new line I realise can be achieved by using \A.
> I know I could just insert the image manually and done with it, but I'm
> interested to know if something like the above is possible.
Using double quotes causes the output to be a string.
You need:
a:before { content: url("image.gif") }
http://www.w3.org/TR/REC-CSS2/generate.html#content
I can't wait until that stuff is well supported.
Big John
=====
"What the world needs is a good bug ring"--Big John
<http://users.rraz.net/mc_on_the_rocks/testpage/pie.html>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com