Home › Forums › CSS › How to change the last menu item coding in a list? › Reply To: How to change the last menu item coding in a list?
September 1, 2013 at 6:02 am
#148699
Participant
You have this:
ul.MenuBarHorizontal a li:first-child {
border-right:0;
}
Two mistakes you made. First, the “a” shouldn’t be there. Second, you should set border-LEFT to 0, not border-RIGHT. This would be the correct declaration:
ul.MenuBarHorizontal li:first-child {
border-left:0;
}