The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Threaded View

setting the background colour of a list Item in OL

Ok, before anyone tells me, I know that it can be done like

Code:

li {
background-color:#990000;
}

but that gives a red background colour to the content of the list item. I'm using OL & I want to give a background colour to the number that comes up before the list item's content. There doesn't seem to be any property to do that, or I can't find one. Can anyone help. I know that it can be done by using a coloured image & positioning it under the number but I would like to avoid using that technique.
And it needs to work in IE5+, FireFox & if possible, Opera. So don't give me any solutions that work only on FireFox or anything saying that IE don't support web-standards, etc. That's not the point of this thread.