
Originally Posted by
lorrens
You're editing the tabcontent box...
You should edit the .shadetabs

That's what the post at:
http://www.dynamicdrive.com/forums/s...0&postcount=12
that I mentioned before does, more or less:
Code:
.shadetabs li a{
float:left;
width:160px;
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:
Code:
.contentstyle{
clear:left;
border: 1px solid gray;
width: 450px;
margin-bottom: 1em; padding: 10px;
}
But, I think I left out:
Code:
.shadetabs li a{
display:block;
float:left;
width:160px;
text-decoration: none;
padding: 3px 7px;
margin-right: 3px;
border: 1px solid #778;
color: #2d2b2b;
background: white url(shade.gif) top left repeat-x;
}
The width for .shadetabs li a may be adjusted to suit. Width will not apply in all browsers to an anchor unless it is display:block but then there is a line break after each tab hence, float left and then later this must be cleared in the .contentstyle element. Editing the .shadetabs directly didn't work when I tried it.
Bookmarks