I've been going through a book along with online examples to dig into CSS. I'm not exactly sure when use
I was thinking that if I knew it was a unique
What do most people use as a rule of thumb?
You have it right
An id must be unique, it's like a social security number; it applies to one person only. A class is just that; any number of elements may belong to a class. For example, an individual may be addressed by his name and only that person responds. Likewise you might address redheads, in which case any number of people might respond.
Using a class token when an id is more proper is a waste of bits. The browser continues to look through the entire document for the class token. If you address an id, the browser stops once it is found.
Thanks, that makes sense. So
Thanks, that makes sense.
So in one of my scenarios I have a Master Page with