View Full Version : Diference in <Div id=> and <div class=>?

09-23-2004, 12:59 AM
Is there a diference in using the id="-" and the class="-"? Thanks

09-23-2004, 01:17 AM
an id is a unique identifier - it can onyl be used once per page

a class can be used as many times are you want and multiple space separated classes can be assigned to one element, think of it as a way of grouping similar elements

09-23-2004, 02:42 AM
there's no difference. they just want to see who would pick the one with more letters, and then they all laugh at those people from behind thick, taped-at-the-nose, plastic rimmed spectacles.

09-23-2004, 11:14 AM

ever considered decaf...?

09-23-2004, 04:22 PM
*sip, tweak*

whatcaf? (i'm a tea drinker, for the record... boourns to coffee, but i enjoy mountain dew on occasion)