Sign In/My Account | View Cart  
advertisement

Article:
 All That We Can Leave Behind
Subject: getting carried away with multiple classes
Date: 2005-01-13 21:55:00
From: spook

i realise it was just an example, but all the same i think you need to reconsider the way you've shown multiple classes at work, for it is quite misleading.


class="smallcaps bold red" is just as semanticaly incorrect as using inline style tags, and even worse, the class' names are based on visual cues.


Also, what is "smallcaps bold red" but a mere shortcut to the full property? When it comes time to redesign the website, it's quite likely you might want to change the color from red to blue - then you'd end up with "red{color:blue}"!


The article quoted it itself - "It encourages a mindset that considers the visual media to be the most important one.".




Previous Message Previous Message   Next Message Next Message


Sponsored By: