RE: CSS - id vs class
As far as I know classes are for things that turn up time and time again so you can have different things with the same class.
IDs are for individual things as it's used as some sort of identifier for that particular thing.
EDIT:
Yeah, go read Matti's post, it's far more eloquently put.
This post was edited on 06-08-2009 at 06:44 PM by gif83.
|