Since the menu items are inline links (<a>), specifying a width won't do. You can try using float in combination with display: block:
Code:
.shadetabs li a{
display: block;
float: left;
width: 100px;
text-decoration: none;
padding: 3px 7px;
margin-right: 3px;
border: 1px solid #778;
color: #2d2b2b;
background: white url(shade.gif) top left repeat-x;
}
And inside .tabcontentstyle, clear that float:
Code:
.tabcontentstyle{ /*style of tab content oontainer*/
clear: left;
border: 1px solid gray;
width: 450px;
margin-bottom: 1em;
padding: 10px;
}
Bookmarks