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

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