#menu{
width: 100%;
overflow: hidden;
}

#menu ul{
margin: 0;
padding: 0;
padding-left: 10px; /*offset of tabs relative to browser left edge*/
list-style-type: none;
line-height: 1;
}

#menu li{
display: inline;
margin: 0;
font-weight:bold;
}

#menu li a{
float: left;
display: block;
text-decoration: none;
margin: 0;
padding: 5px 12px; /*padding inside each tab*/
border-right: 1px solid white; /*right divider between tabs*/
color: white;
background: #bf3004; /*background of tabs (default state)*/
}

#menu li a:visited{
color: white;
}

#menu li a:hover, #menu li.selected a{
background: black; /*background of tabs for hover state, plus tab with "selected" class assigned to its LI */
}
