David Ross <no****@nowhere .not> wrote:
Also, you can use a style-sheet to set the color of the text of
list items. The marker then has the same color.
It is also possible to use extra markup that makes the content of each
LI element an element of its own, normally using SPAN or DIV, as in
<li><span>lis t item, text level content</span></li>
and then set the color of LI to something, the color of the inner
element to something else. This would result in a list bullet that is
of different color than the list item. With the usual caveats of
course.
Whether that's a good idea is debatable. On the technical side, using
an image as a bullet (via list-style-image in CSS) sounds better,
though it's impossible to adjust the positioning of the bullet well
that way. Regarding useability, I would not object to a colored bullet
if it is not too striking.
Well, there _is_ even an HTML approach (though it may or may not work,
and it's debatable whether it should work - the specs are vague on the
BASEFONT element):
<basefont color="red">
<ul>
<li><font color="black">. ..</font></li>
<li><font color="black">. ..</font></li>
...
</ul>
<basefont color="black">
It's hopefully needless to say that I mentioned this possibility for
your entertainment only.
--
Yucca,
http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring:
http://www.cs.tut.fi/~jkorpela/www.html