Re: [css21] multiple ID attributes with the same value

Robin Berjon wrote:
> 
> Philip TAYLOR wrote:
> 
>> How does one abuse a "class" attribute, btw ?
>
> Mostly by creating documents in DIV-soup: with almost only DIVs and 
> SPANs and using the class name to (attempt to) convey semantics. It's 
> not always entirely avoidable in XHTML due to its limited semantics but 
> it's not rare to see <div class='address'> where <addr> would've worked.

That would be using the CLASS attribute. Abusing is more like 
|class="red-2px-border"| or |class="green"|.


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

Received on Monday, 14 February 2005 16:47:38 UTC