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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:36 GMT