View Single Post
Old 04-29-2009, 03:13 PM   #14 (permalink)
allworknoplay
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default

Quote:
Originally Posted by Salathe View Post

Offtopic:
The id and class attributes are two entirely different things. The former gives the element a unique identifier (it ain't an id if there are more than one of it!). The latter denotes that the element belongs to one or more classification groups. An element can have multiple classes (eg. it can be both 'fat' and 'round', to give a useless example, using class="fat round").
Thanks Salathe,

But you can give the DIV ID's all the things that you can with a class in one shot right? It's kinda like double dipping?

And I suppose if you then want to give it more properties from other classes then you can use "class="..?

Would you say that's correct?
allworknoplay is offline  
Reply With Quote