W3C home > Mailing lists > Public > www-style@w3.org > April 1997

Re: colours for bullets

From: <dsb@duke.cs.duke.edu>
Date: Mon, 14 Apr 1997 16:10:31 -0400 (EDT)
Message-Id: <199704142010.QAA26758@goldfinch.cs.duke.edu>
To: www-style@w3.org
"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 GMT

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