Previous Message
Next Message

[css-d] Inserting images with selector:before

Sent by Alex Robinson on 21 December 2002 16:04


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.
Previous Message
Next Message

Message thread: