.shadetabs{
padding: 0;
margin: 0;
list-style-type: none;
text-align: left; /*set to left, center, or right to align the menu as desired*/
width: 220px;
}

.shadetabs li a{
display: list-item;
text-decoration: none;
font-size: 12px;
font-weight: bold;
padding: 6px 0px 0px 5px ;
margin: 1px ;
color: black;
width: 215px;
height: 21px;
border: 1px solid gray;
}

.shadetabs li a:hover{
text-decoration: none;
color: red;
background-color: silver;
}

.shadetabs li.selected a{ /*selected main tab style */
background-color: silver;
}

.shadetabs li.selected a:hover{ /*selected main tab style */
text-decoration: none;
}

.contentstyle{
float: left;
border: 1px solid gray;
width: 199px;
height: 245px;
margin-top: 5px;
margin-left: 1px;
padding: 10px;
}

.contentstyleindex{
float: left;
border: 1px solid gray;
width: 199px;
height: 510px;
margin-top: 5px;
margin-left: 1px;
padding: 10px;
}