13 ms·
[1] http://coding.smashingmagazine.com/2007/07/27/css-specificity-things-you-should-know/ http://coding.smashingmagazine.com/2007/07/27/css-specificit... This
by gburt 14y ago
[1] http://coding.smashingmagazine.com/2007/07/27/css-specificity-things-you-should-know/ http://coding.smashingmagazine.com/2007/07/27/css-specificit...
This is a feature, not a bug. Its called CSS specificity.
Although, the link[1] seems to suggest it should be 100, not 256... that might be a bug.
- nemetroid 14y agoRead the spec instead. It says "in a number system with a large base". I suspect the unspecific wording is on purpose (to allow optimisation for sane conditions), but it should be fairly clear that the intent is that classes cannot override ids.