W3C home > Mailing lists > Public > www-style@w3.org > February 2005

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

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Mon, 14 Feb 2005 17:47:26 +0100
Message-ID: <4210D61E.9050504@annevankesteren.nl>
To: Robin Berjon <robin.berjon@expway.fr>
CC: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>, www-style@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:35 GMT