I feel very noobish asking this, but I can't seem to figure it out... I have a standard <ol>
that lists
- List item
- List item
- List item
etc.
In my CSS I would like to include the entire <li>
in the background color, for instance (in my very best ASCII representation):
----------------
| 1. List item | <----- box = solid background color
----------------
but I can only seem to get:
-------------
1. | List item |
-------------
Is there some property I'm missing? It's pretty annoying and I would like to fix it. Also, I am going to be coloring these different (odd/even) so just coloring the <ol>
won't work, I don't think :\
Thanks for your help!