Re: Layered presentation on a single element

On Mon, 23 Jun 2003 07:39:19 +0100 (BST), David Woolley 
<david@djwhome.demon.co.uk> wrote:
>> <h1>This text will not display. 100x100 foo.gif will show in its 
>> place</h1>
>
> I don't understand the example.  You appear to be replacing document 
> content
> with non-content.

No, it's basically equivalent to the following:

<h1 style="background-image: url("images/foo.gif"), etc. etc."><span 
style="display:none">Text</span></h1>

There've been a few tutorials on how this is useful (i.e. 
http://www.stopdesign.com/articles/css/replace-text/).

Sorry for being unclear.

Josh

Received on Monday, 23 June 2003 08:27:39 UTC