Re: CSS2 "Content"

Arthur Wiebe wrote:
> I've been trying to use content in a division with an URI to a html 
> file. Doesn't it work because Netscape 7.02 doesn't support it yet or 
> because text/html doesn't work for this.

See [CSS2] 12.2 on this: 

content property only applies on :after and :before pseudo-elements.

> I used this code
> <div class="GuestBook" style="content: 
> url(;">
> </div>

I think this is legal css3 though - but there's no css3 user agent yet, 
only a few css2 with support for a smaller number of css3 properties.
liorean <>

ViewStyles, ViewScripts, ToggleStyles and GraphicsInfo bookmarklets and 
Theme Switcher, Cookies Handler scripts:

Received on Thursday, 27 March 2003 14:10:03 UTC