Re: formatting of html list

Giganews Newsgroups
Subject: Re: formatting of html list
Posted by:  Thomas 'PointedEars' Lahn (PointedEa…@web.de)
Date: Sun, 14 Nov 2010

cerr wrote:

> Am I able to format an html list the way that the point in an
> unordered list would have a different color than the text behind it? I
> tried following:
> <ul>
> <span style="color: #00FF00;"<li></span>blahblah
> </ul>
> but this wouldn't work

Perhaps because it is utter nonsense.  (Are you sure you don't want to learn
HTML first?)

> is this possible at all?

Yes, to be sure you need to use the `list-style-image' property.

PointedEars

--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
  -- Richard Cornford, cljs, <f806at$ail$1$8300de…@news.demon.co.uk>

Replies

None

In response to

formatting of html list posted by cerr on Sat, 13 Nov 2010