remove border on last item?
I've tried to work with a class to define my last menu item but it's not working. I wonder if my syntax is inaccurate.
HTML: (as generated by CSSMW - I added the class to the last <li>)
<ul class="level-0" id="cssmw">
<li><a href="index.php">Home</a></li>
<li><a href="cart/index.php">Shop</a></li>
<li><a href="yblog/index.php">Eat</a></li>
<li><a href="blog/index.php">News</a></li>
<li class="last"><a href="about.php">About</a></li>
</ul>
CSS: (added to the end of menu.css)
li.last {
border:none;
}
Have I got this right?
Thanks,
Pete