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

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

From: Alan Gresley <alan@css-class.com>
Date: Wed, 07 May 2008 12:58:16 +1000
Message-ID: <48211AC8.8050702@css-class.com>
To: Saloni Mira Rai <salonir@microsoft.com>
CC: Arron Eicholz <Arron.Eicholz@microsoft.com>, CSS <www-style@w3.org>

Alan Gresley wrote:

> "According to the Dom toolbar the values are 'auto', and margin-left:30pt."
> For IE7 the vertical margins with auto for unordered list is 
> approximately 19px.

I will add that I have confused 'auto' with 'default' as in.



Vertical margins with Auto:

<ul style="margin-top: auto; margin-top: auto;">

The former case will show the default vertical margins of the UL and the 
later should resolve 'auto' to '0' as per the spec.


If 'margin-top', or 'margin-bottom' are 'auto', their used value is 0.

It would help us all to see first hand some of the internal test that 
Arron has done.

Received on Wednesday, 7 May 2008 02:59:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:36 UTC