Re: [WSG] guide to CSS inheritance

2004-08-11 Thread Andy Budd
John Horner wrote: However, 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 bas

Re: [WSG] guide to CSS inheritance

2004-08-10 Thread John Horner
[...] 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?

Re: [WSG] guide to CSS inheritance

2004-08-10 Thread John Allsopp
John, Seeing this email reminded me of something. Yes, some CSS properties are inherited and some aren't. Inheritance depends on *specificity*, which can be reduced to a mathematical formula, as in this quote from the definitive O'Reilly book by Eric Meyer, where it says: H1 {color: red;}

Re: [WSG] guide to CSS inheritance

2004-08-10 Thread John Horner
Seeing this email reminded me of something. Yes, some CSS properties are inherited and some aren't. Inheritance depends on *specificity*, which can be reduced to a mathematical formula, as in this quote from the definitive O'Reilly book by Eric Meyer, where it says: H1 {color: red;}

Re: [WSG] guide to CSS inheritance

2004-08-08 Thread russ - maxdesign
Inheritance gets a bit trickier when you start talking about font-sizes, as they inherit the 'computed value'. A detailed explanation here (under font size and inheritance): http://css.maxdesign.com.au/selectutorial/advanced_inheritance.htm More on computed values: http://www.w3.org/TR/REC-CSS2/c

Re: [WSG] guide to CSS inheritance

2004-08-08 Thread John Allsopp
Neerav, Does anyone know of a definitive guide to CSS inheritance, hopefully including which tags inherit properties from other tags eg: inherits from its an interaction of HTML and CSS. Some properties in CSS are inherited, others are not. See the spec, or westciv's guide as to whether a speci

[WSG] guide to CSS inheritance

2004-08-08 Thread Neerav
Does anyone know of a definitive guide to CSS inheritance, hopefully including which tags inherit properties from other tags eg: inherits from Ive only been able to find general explanations like http://www.creativepro.com/story/feature/14776.html http://www.blooberry.com/indexdot/css/topics