|
As you probably know, ID's are used once for non-reoccurring items such as the menu bar, nav bar content box etc. One reason for the distinction is for organization I suppose but a better reason is that DIVs have higher priority and take precedence over Class properties. IDs have higher specificity than classes. This means that, in situations where a class's properties might not be applied (for reasons of specificity and inheritance), an ID's properties probably will be
|