Posts: 4,264
Name: Sugarcane Gray
Location: Hell, Southern Spain
|
It entirely depends on a) the size of the site b) the complexity of the design and c) the purpose of each class etc.
Ordinarily I use ID's for basic layout, when I'll only be defining each section once. But for a more complex layout, I'll switch to classes, so I can reuse elements and only declare them once in a stylesheet.
For example, with rounded corners. I normally declare a class .round that I can then apply to anything throughout the site. Text colours as classes too.
__________________
Please login or register to view this content. Registration is FREE - a project in video and sound.
Please login or register to view this content. Registration is FREE "Absolute Rubbish, an insult to the blues." - NME.
Please login or register to view this content. Registration is FREE - Come use our agency :)
|