Previous Message
Next Message

ID vs. Class

Sent by Chris Blake on 20 July 2010 03:03


Hi,

I understand the difference between class and ID to a basic level. I  
am adding a #div but I may want to add another later. Therefore I  
should use class but what is the danger if I use a class - is it  
slower, does something cache that may not if it's an ID - what's the  
real difference other than using it once or multiple times?

TY, CB
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: