W3C home > Mailing lists > Public > public-html@w3.org > May 2007

Re: Proposal: Chained Classnames

From: Jack Sleight <jack.sleight@gmail.com>
Date: Tue, 15 May 2007 12:16:57 +0100
Message-ID: <464996A9.2090701@gmail.com>
To: Gervase Markham <gerv@mozilla.org>
CC: Charles Ying <charles.ying@gmail.com>, Maurice Carey <maurice@thymeonline.com>, HTML Working Group <public-html@w3.org>

Ending underscores are fine, but do we really need a prefix or suffix at 
all? I may have missed some of the conversation on this, but what's 
wrong with just "copyright"?

Yeah, IE6 doesn't support chained class names at all 
(".footer.copyright" for example).

Personally I'm not 100% sure on the need for predefined class names at 
all, but its too early for me to comment at the moment, I need to have a 
more detailed look at the spec first.

Gervase Markham wrote:
> Jack Sleight wrote:
>> It's probably worth mentioning that IE6 ignores classes where the 
>> name begins with an underscore, and will not apply the relevant 
>> styles. Underscores within the name are fine, just not at the 
>> beginning. I'm not sure about IE7.
>
> That _is_ worth mentioning. Drat. How about a final underscore 
> ("copyright_")?
>
> I believe IE 6 also has a bug with CSS selectors which use multiple 
> class names as well. <sigh>
>
> Gerv
>

-- 
Jack
Received on Tuesday, 15 May 2007 11:16:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:44 UTC