W3C home > Mailing lists > Public > www-style@w3.org > December 2004

Re: color:transparent

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Fri, 17 Dec 2004 18:32:15 +0100
Message-ID: <41C3181F.5080103@annevankesteren.nl>
To: Bryce Fields <bryce.fields@gmail.com>
CC: www-style@w3.org

Bryce Fields wrote:
> I'm sure that this is probably a bad idea on many levels, but I
> thought I'd float it out there anyway.  You learn as much from
> negative feedback as you do positive.  So here goes.
> It has occured to me while researching the various image replacement
> techniques, that it would be much simpler to implement IR if you could
> just declare color:transparent.  Then you wouldn't need extraneous
> markup, no "off-left" positioning, etc.  Text would not need to be
> artificially manipulated to move it out of the way of the background
> image.

Although CSS3 allows this, as you find out in your follow-up e-mail, it 
is much more appropriate to use the 'content' property, as in:


I believe Opera supports this in some way:


  Anne van Kesteren
Received on Friday, 17 December 2004 17:32:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:16 UTC