I am wondering if there is some way to change a CSS attribute for the last li in a list using CSS. I have looked into using :last-child, but this
li
:last-child
:last-child is CSS3 and has no IE support while :first-child is CSS2, I believe the following is the safe way to implement it using jquery
$('li').last().addClass('someClass');