Re: ::inline Pseudo-Element

* Daniel Schierbeck wrote:
>When doing image-replacement in (X)HTML on, for example, headings, you 
>often need to, either manually or through a script, wrap <span/> tags 
>around the text inside the <hx/> elements.
>
> <h1 class="abc"><span>This will be replaced with an image</span></h1>
>
> h1.abc > span { display: none; }
> h1.abc { background-image: ...; }
>
>If ::inside was implemented, that wouldn't be neccesary
>
> <h1 class="abc">This will be replaced with an image</h1>
>
> h1.abc::inside { display: none; }
> h1.abc { background-image: ...; }

How is this different from the 'content' property?
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Sunday, 15 January 2006 13:51:52 UTC