View Full Version : Horizontal Navigation, Vertical Lines

Jan 14th, 2011, 03:36 PM
I've got a horizontal navigation with text links separated by vertical lines. It shows perfectly on every browser except for IE, where it shows a vertical line after the last list item. How can I remove it? You can view what I'm talking about on the top left side of lhmyachts.com. Any help is much appreciated.

Jan 14th, 2011, 03:45 PM
.nav ul li:last-child IE doesn't support those pseudo classes, see http://www.quirksmode.org/css/contents.html#t17

You'd need to assign an additional class on that last list item, say class="last", and then change your CSS selector to

.nav ul li.last