W3C home > Mailing lists > Public > www-style@w3.org > June 2003

Re: Layered presentation on a single element

From: Josh Hughes <josh@deaghean.com>
Date: Mon, 23 Jun 2003 08:27:38 -0400
To: David Woolley <david@djwhome.demon.co.uk>, www-style@w3.org
Message-ID: <oprq7zkcnmllcpg3@mail.deaghean.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:22 GMT