- From: Anne van Kesteren <fora@annevankesteren.nl>
- Date: Tue, 29 Mar 2005 21:03:50 +0200
- To: Laurens Holst <lholst@students.cs.uu.nl>
- CC: www-style@w3.org
Laurens Holst wrote:
> OTOH, img:alt { content: attr(alt) } sounds kinda nice. Though that
> wouldn’t work with XHTML 2.0.
Why not? However, I think:
img{ content:attr(src,url),attr(alt,string,"no alt available");
... might be better.
Note that you could create problems with ':alt':
img:alt{ content:url(foo) }
--
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Tuesday, 29 March 2005 19:04:16 UTC