On Friday 09 March 2007 16:04, Eur Ing Chris Green wrote:
How do you know which CSS properties apply to which selectors?
I.e. given that I want to change the spacing around lists how do I find whether it's padding or margin (or border?) that I need to change and/or what the defaults are? Not to mention how to know whether it's the space below the heading above or the space above the list that needs reducing.
Welcome to the wonderful world of HTML and CSS. There are standards for the syntax of both, and standards for the behaviour. But there are no standards or defaults for CSS property values. Every browser implements its own defaults for properties, not to mention interpretation of (or, in some cases, complete disregard for) the semantics and behaviour of HTML/CSS.
To answer your question: you don't. All you can do is experiment.
Have fun.
Cheers, Richard