|
Tailslide -> RE: Browser Interpretation (1/25/2008 2:29:23)
|
This is actually a pretty complex question - all browsers have different default margins on different HTML items (e.g. paragraphs, lists, divs etc) and many browsers also have different ways of using margin-collapse too - here's a useful page with a load of tests on margin-collapse: http://www.hixie.ch/tests/evil/mixed/collapsemargins.html Plus obviously, there's the IE old box-model issue where it uses it's own, non-standard box model when in Quirks mode. The thing is - as a designer, I'm aware that they're all different in the way they handle these issues but I couldn't list all the differences for you - mainly because my sole issue is getting rid of the differences. So I always use a full DOCTYPE to ensure standards mode across all browsers (or as close to it as IE will allow) and I always use a CSS reset to remove the vast majority of margins and padding defaults so that I'm starting from a level playing field. I think that removing these defaults (or resetting them so that they're all pretty much the same) is more important than necessarily defining the difference from a designing/developing point of view.
|
|
|
|