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

Re: inner structures

From: Brian Sexton <discussion-w3c@ididnotoptin.com>
Date: Thu, 6 Jan 2005 23:24:20 -0800
Message-ID: <001601c4f489$e797d200$651aa143@desktop>
To: "aquino welkin" <emp@vsen.com>, <www-style@w3.org>


> I have a very specify idented way to write css, and started looking for a
> solution to avoid repetition of ID/classes, since my research was
> unsuccessful I want to ask you guys if this is possible, and if not, 
> sugest
> it to next implementations of the technology.
> the following code:
> . . .
> note that the classes are contained inside the parent structure. I think 
> the
> advantages are visible, in these tabeless days, minimalist and clear code 
> is
> the goal

I can understand the desire for encapsulation, especially if you have a 
background in programming, but aside from creating another option for 
personal preference of CSS organization, I do not see the visible advantages 
to which you refer.  It looks like a curly brace was moved to associate the 
whole structure and a few words were left out of the second and third 
selectors (two of which words were unnecessary anyway except to alleviate 
possible specificity or class name conflicts).  Am I missing something? 
What are these advantages about which you wrote?

Kind regards,

Brian Sexton 
Received on Friday, 7 January 2005 07:24:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:16 UTC