Changing CSS for Last li

Posted by PF1 on Stack Overflow See other posts from Stack Overflow or by PF1
Published on 2009-08-25T17:48:30Z Indexed on 2010/04/22 5:53 UTC
Read the original article Hit count: 307

Filed under:
|
|
|

Hi Everyone:

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 seems really buggy and I can't get it to work for me. I will use Javascript to do this if necessary, but I want to know if anyone can think up a solution in CSS.

Thanks for any help!

© Stack Overflow or respective owner

Related posts about css

Related posts about li