W3C home > Mailing lists > Public > www-style@w3.org > November 2005

RE: [CSS21] Status of defult (intrinsic) style sheet in UA

From: Simon Pieters <zcorpan@hotmail.com>
Date: Tue, 22 Nov 2005 21:21:37 +0000
Message-ID: <BAY109-F116620C6B1C37DEE752624B4520@phx.gbl>
To: www-style@w3.org
Cc: news@terrainformatica.com


>For example in the document above we have:
>ol ul, ul ol,
>ul ul, ol ol    { margin-top: 0; margin-bottom: 0 }
>But if we define in the document something like:
>ol { margin-top: 1pt; margin-bottom: 1pt }
>then it will override all instances of ol without
>respect of specificity of styles in default table.

The author style sheet has a higher weight than the UA stylesheet. See:


Simon Pieters
Received on Wednesday, 23 November 2005 01:07:35 UTC

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