Re: Stand-in color before images load

Bjoern Hoehrmann wrote:
>>> OTOH, img:alt { content: attr(alt) } sounds kinda nice. Though
>>> that wouldn’t work with XHTML 2.0.
>> 
>> Why not?
> 
> There is no img element in XHTML 2.0.

Heh, ok...

I thought it was intended as a more general pseudo-class as it was 
proposed in the light of background image and such... Actually, the 
original proposal applied the pseudo-class to the P element.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>

Received on Tuesday, 29 March 2005 19:11:57 UTC