- From: Brian Sexton <discussion-w3c@ididnotoptin.com>
- Date: Thu, 6 Jan 2005 23:24:20 -0800
- To: "aquino welkin" <emp@vsen.com>, <www-style@w3.org>
Aquino, > 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