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

Re: New feature request

From: James Hopkins <james@idreamincode.co.uk>
Date: Sat, 14 Feb 2009 14:50:35 +0000
Cc: SimDigital - Gustavo Villa <gustavo@simdigital.com.br>, www-style@w3.org
Message-Id: <BF2F997E-BF36-4FA3-B818-556EC58CDEAA@idreamincode.co.uk>
To: "Philip TAYLOR (Ret'd)" <P.Taylor@Rhul.Ac.Uk>

On 14 Feb 2009, at 14:43, Philip TAYLOR (Ret'd) wrote:

> James Hopkins wrote:
>> My question to you would be why are you constructing a class solely  
>> to declare the value of the width property? Why don't you just  
>> stick each width property into its (more semantically written)  
>> initial class declaration i.e 'logo', 'search', 'menu' etc. This  
>> gives your clients complete control (via CSS) over what width value  
>> each element uses; you could go further and use the grouping syntax  
>> to organize multiple classes into grouped widths.
> As Gustavo Villa is new to this list, he may not fully
> appreciate what you mean by your suggestion.

Apologies Gustavo - I should have made my ramblings slightly clearer :)

>  Gustavo,
> what I think James is suggesting is
> .logo, .search, .menu, .news, .footer {width: <whatever>}

This is what I was suggesting

> Does this in some way address your needs ?
> Philip TAYLOR
Received on Saturday, 14 February 2009 14:51:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:24 UTC