hello, I'm trying to alternate row colors, but the examples I can find online require you to use tables...
im looking for something, like js, to alternate row colors in a list. for example:
the list items in the id "list" will have alternating colors. is there anything like this out there? or am i stuck with tables.Code:<div id="list"> <ul> <li>item 1</li> <li>item 2</li> <li>item 3</li> <li>item 4</li> <li>item 5</li> </ul> </div>
thanks



Reply With Quote



Bookmarks