[...] I know I've read an article also by Eric, which says that those nice numbers which make so much sense at first glance are not in base ten.
I'm sure it was in his own personal website, but I can't seem to find it. I remember being puzzled by it at the time. If not base 10, then what? Hex? So a specificity of 11 is actually seventeen? And 17 is actually 23? Maybe I misinterpreted something?
The numbers have no base at all (well, some very large one that may change in future and is not really relevant)
See the specification for exact details
http://www.w3.org/TR/CSS21/cascade.html#specificity
[...]
Thanks a lot John, that makes sense. I guess it's a form of modular arithmetic, and as you say, no matter what, 1000 is bigger than 100 which is bigger than 10 and so on, so the actual details needn't concern me.
But at least if my students ask me, I'll have the answer ready... ------------------------------------------------------------ "Have You Validated Your Code?" John Horner (+612 / 02) 9333 2110 Senior Developer, ABC Online http://www.abc.net.au/ ------------------------------------------------------------
****************************************************** The discussion list for http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/ Web standards, accessibility, inspiration, knowledge To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************