Mysterious blank space?
View Single Post
04-29-2009, 03:13 PM
Join Date: Feb 2009
Location: New York
Originally Posted by
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").
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?
View Public Profile
Send a private message to allworknoplay
Find More Posts by allworknoplay