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

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

From: Ph. Wittenbergh <jk7r-obt@asahi-net.or.jp>
Date: Fri, 2 May 2008 09:22:35 +0900
Cc: Saloni Mira Rai <salonir@microsoft.com>
Message-Id: <77B4EAA1-35A8-4B9B-8C34-3D4293331051@asahi-net.or.jp>
To: CSS <www-style@w3.org>


On May 2, 2008, at 9:01 AM, Saloni Mira Rai wrote:

> I edited Alan's webpage to fix the #NAME errors.

Thanks for that.

A question:  how did you obtain those values ?

Regarding IE (7)
The default margins for the UL in your table are reported as (0 0 0  
30pt). That is incorrect. According to the Dom toolbar the values are  
'auto', and margin-left:30pt.

The '0' would only be true if the UL is the first and only child of  
<body> (body is _always_ a 'hasLayout' container).
A quick, eyeballing, test here shows the default top/bottom value  
(@default font-size) to be 20px - approx 1.15em.


Philippe
---
Philippe Wittenbergh
http://l-c-n.com/
Received on Friday, 2 May 2008 00:23:14 GMT

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