Yes, but with images as background. I have modified the code from DD Tab Menu 2:
(http://www.dynamicdrive.com/dynamici...ddtabmenu2.htm)
Code:
#ddimagetabs {
height: 32px;
width: 100%;
}
.halfmoon{
margin-bottom: 4px;
}
.halfmoon ul{
padding: 13px 19px 12px 15px;
margin-left: 0;
margin-top: 1px;
margin-bottom: 0;
font: bold 10px Verdana;
list-style-type: none;
text-align: left; /*set to left, center, or right to align the menu as desired*/
}
.halfmoon li{
position:relative;
display: inline;
margin: 0;
width: 136px;
}
.halfmoon li a{
text-decoration: none;
padding: 13px 19px 12px 15px;
margin: 0;
margin-right: 3px; /*distance between each tab*/
font: bold 12px Verdana;
background: url(<% = strBackURL & ModPicture(1, "SpecsBtnOff.png", "", "") %>) no-repeat 0 0;
}
.halfmoon li a:visited{
color: black;
}
.halfmoon li a:hover {
background: url(<% = strBackURL & ModPicture(1, "SpecsBtnHalf.png", "", "") %>) no-repeat 0 0;
}
.halfmoon li a.current{
background: url(<% = strBackURL & ModPicture(1, "SpecsBtnOn.png", "", "") %>) no-repeat 0 0;
}
#tabcontentcontainer{
width:95%; /*width of 2nd level content*/
height:1.5em; /*height of 2nd level content. Set to largest's content height to avoid jittering.*/
}
.tabcontent{
display:none;
As you can see I'm trying to maintain a width of 136px.. Without luck. Maybe I'm all out of my way here? Just thought it would work with some tweaks..
Bookmarks