- From: Anne van Kesteren <fora@annevankesteren.nl>
- Date: Fri, 17 Dec 2004 18:32:15 +0100
- 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:
h1#contact{
content:url("contact"),contents;
}
I believe Opera supports this in some way:
h1#contact{
content:url("contact");
}
--
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Friday, 17 December 2004 17:32:34 UTC