- From: Simon Pieters <zcorpan@hotmail.com>
- Date: Tue, 22 Nov 2005 21:21:37 +0000
- To: www-style@w3.org
- Cc: news@terrainformatica.com
Hi,
>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:
http://www.w3.org/TR/CSS21/cascade.html#cascade
Regards,
Simon Pieters
Received on Wednesday, 23 November 2005 01:07:35 UTC