Johannes Koch <koch@w3development.de> writes:
[color=blue]
> There are CSS files in Mozilla installations containing style
> declarations for many elements.[/color]
ccjpb@shark.cse.bris.ac.uk (JP. Baker) writes:
[color=blue]
>
http://www.w3.org/TR/2003/WD-CSS21-20030915/sample.html[/color]
Thank you, the two "John"s for providing examples. I accept that no
UA may actually follow these but they give a good starter for ten for
anyone wanting to understand a core stylesheet.
For example, you might note that for many things margin is defined in
terms of ems (1.17em, 0.83em etc.) except that some things define
margin in px (eg. blockquote 40px).
The reason for my question is that you can obviously extend such
simple introspection to work out why, as I have found, that some but
not all <input> within a <form> have a different background colour in
IE6 build XYZ to the one I choose. I might also have trivially seen
that <input> in IE6 ignores whatever parent font-size I have set and
I have to set one for it explicitly.
I don't want to have all browsers look the same (sorry, Peter!) but
I'd like to know what funny defaults I'm up against across my
favourite browser set. I don't think that's an unreasonable question
to ask (and orthogonal to the question many people seem to think I've
asked) and I'm surprised that so many eminent authors in the land of
CSS haven't addressed it explicitly rather than maintain browser
specific fixes which attempt to answer the same question but from the
other end erring on the side of incompleteness.
Cheers,
Ian