I have a tabbed navigation on my page. It works, but I can't get the bottom border on the selected/active tab to go away. I want a border to separate the nav section from the content section, but I don't want a bottom border on the selected/active tab.
Any tips or suggestions would be greatly appreciated!
Thanks!
Code:
Code:<div id="topNavArea"> <div id="tabs"> <ul> <li id="libraryTab" class="unselected"><a href="#1">The Library</a></li> <li id="myStuffTab" class="selected"><a href = "#2">My Stuff</a></li> </ul> </div> </div> <div id="mainContent"> ... </div> #topNavArea { background-color: #e1e1e1; border-bottom: 1px solid #CCC; overflow: hidden; } #tabs ul{ list-style: none; } #tabs li { border-bottom: 0; } #tabs .selected { background-color: white; padding-top: 6px; border-top: 1px solid #D2E1EB; border-left: 1px solid #D2E1EB; border-right: 1px solid #D2E1EB; border-bottom: 0; } #mainContent { background-color: #fff; }






Bookmarks