You can really file this under “You learn something new everyday”. CSS2. It’s fantastic. This site uses it. Just not as well aparantly as I should be. This article talks about combining classes.
It basically boils down to the fact that rather that expanding out your style sheet to 50 different entries, all similar, is that you can have basic, modular classes that you combine. Image a style for a border, one for font, one for color, one for placement. It’d read class=”Bordered Font Green Right” (if your classes were named those items). But four classes applied to one div.
David, from catcode.com, apparantly learnt this from the W3C pages. This is very impressive, as I find the W3C pages basically unreadable and unnavigatable.