View Full Version : Diference in <Div id=> and <div class=>?
09-22-2004, 11:59 PM
Is there a diference in using the id="-" and the class="-"? Thanks
09-23-2004, 12: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, 01: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, 10:14 AM
ever considered decaf...?
09-23-2004, 03:22 PM
whatcaf? (i'm a tea drinker, for the record... boourns to coffee, but i enjoy mountain dew on occasion)
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.