How do you change the color of just one <li> in an ordered list?
I have an ordered list that has four < li >. How do I change the color of only the last two < li > using CSS?
Public Comments
- Thats beyond me, but you could always do <font color=color></font>
- Give the last two <li>'s a class e.g. <li class="newcolor"></li> Create the class in CSS e.g. .newcolor{color:blue;} This will make all list items with the newcolor class blue. Hope this helps. Daniel Dutton
Powered by Yahoo! Answers