- From: Philip TAYLOR (Ret'd) <P.Taylor@Rhul.Ac.Uk>
- Date: Sat, 14 Feb 2009 14:43:55 +0000
- To: James Hopkins <james@idreamincode.co.uk>
- CC: SimDigital - Gustavo Villa <gustavo@simdigital.com.br>, www-style@w3.org
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. Gustavo,
what I think James is suggesting is
.logo, .search, .menu, .news, .footer {width: <whatever>}
Does this in some way address your needs ?
Philip TAYLOR
Received on Saturday, 14 February 2009 14:44:39 UTC