Eur Ing Chris Green cl@isbd.net wrote:
On Fri, Mar 09, 2007 at 04:32:53PM +0000, MJ Ray wrote:
- the specs state which properties of which selectors get priority
and what the defaults should be for most cases when it matters;
Where? That's what I can't find.
There's a summary table in the CSS2 spec at http://www.w3.org/TR/1998/REC-CSS2-19980512/propidx.html while the xhtml spec DTDs will tell you the types of particular tags http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict
For example, say I have some <H4> headings with paragraphs underneath, what is the space in between and what are its default values? I don't even seem to be able to find a definitive list of what CSS properties I can use with, say, <H4>.
The DTD says h4 is a heading and so a block, a Block and a Flow and so on. So, anything in the CSS summary which applies to all or blocks should be applicable to it.
If you're still using pre-2000 tags like H4, I think you're more likely to activate browser quirks modes and so have more problems controlling layout.
Hope that helps,