View Single Post
Old 05-21-2007, 02:58 PM   #2 (permalink)
Costin Trifan
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,082
iTrader: 0 / 0%
Costin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest order
The simplest solution is to group your classes:

div.Container, table.cTable td.cCell, p.pParagraph {
...
values here
...
}

and so on...

I use this technique as follows:

the global declarations includes: *, html, body, form, links, headings, div.PageContainer

then, depending on the page structure, I might have:
- a header
- a content
- a footer
Then I'll group all elements which belong to the page structures described above.
This way, I have a compact css file, and I don't have to search it to find something, like a class or something.
If the class is in the header zone, then all I have to do is go to the css file and look in the header zone to find that class.
Costin Trifan is offline   Reply With Quote