Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

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?

#148699
Senff
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;
}