ID et Classes sont différents et complémentaires:
un "ID" sert à identifier précisément un élément unique d'une page (chaque ID ne peut apparaître qu'une et unique fois par page) alors qu'une classe sert à créer des "groups" (plusieurs éléments, identiques ou différents, comportant le même attribut "class" )
Pour plus d'infos, OpenWeb, Alsacréations, CSS Débutants, ...
http://masklinnscans.free.fr/webdev.html
---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?