W3C home > Mailing lists > Public > www-style@w3.org > April 2008

[CSS21] Why are browser default style values different from Appendix D

From: Saloni Mira Rai <salonir@microsoft.com>
Date: Mon, 28 Apr 2008 17:57:13 -0700
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <E8245DDD23CF8443A20CDFABD553C2FD2B0D45D4C1@NA-EXMSG-C112.redmond.corp.microsoft.com>

Hello,

I was just wondering why there is so much difference between browser default values and CSS 2.1 Default values.

I know Appendix D is non-normative, but since real world implementation is significantly different, would developers/browsers be interested in seeing these changes driven back in to the spec?


HTML            Property                CSS2.1          FF                      Opera                   Safari

Dir             margin-left             40px                    0                       40px                    0
H2              margin          .75em   0               .83em   0               .83em   0               .83em 0
H3              margin          .83em   0               1em 0                   1em 0                   1em 0
H4              margin          1.12em 0                1.325em 0               1.325em 0               1.325em 0
H5              margin          1.5em   0               1.67em 0                1.67em 0                1.67em 0
H6              font-size               .75em                   .67em                   .67em                   .67em
H6              margin          1.67em 0                2.33em 0                2.33em 0                2.33em 0
Menu            margin          1.12em 0                1em 0                   1em 0                   1em 0
OL              margin          1.12em 0                1em 0                   1em 0                   1em 0
OL              margin-left             40px                    0                       0                       0
P               margin          1.12em 0                1em 0                   1em 0                   1em 0
UL              margin          1.12em 0                1em 0                   1em 0                   1em 0
UL              margin-left             40px                    0                       0                       0


Thanks,
Saloni
Received on Tuesday, 29 April 2008 00:57:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:05 GMT