Re: colours for bullets

"David Perrell" <davidp@earthlink.net> writes:

><SCRIPT TYPE="text/css">
>UL   { list-style: disc outside; color: red }
>SPAN { color: black }
></SCRIPT>
>...
><BODY>
><UL>
><LI><SPAN>here is item one</SPAN>
><LI><SPAN>here is item two</SPAN>
></UL>

[...]

>'marker-color' 
>
>Value: <color>
>Initial: Same as list-item color
>Applies to: elements with 'display' value 'list-item'
>Inherited: yes
>Percentage values: N/A

This would work better as 'list-style-color', IMHO, as it could then be
merged into 'list-style' with all the other 'list-style-*' properties.[1]
Your example would then simplify to:

<SCRIPT TYPE="text/css">
UL   { list-style: disc outside red }
</SCRIPT>
...
<BODY>
<UL>
<LI>here is item one
<LI>here is item two
</UL>

						-sbigham

[1] <URL:http://www.w3.org/pub/WWW/TR/PR-CSS1#list-style>

Received on Monday, 14 April 1997 16:10:41 UTC