This may or may not be exactly the answer you're looking for, as the tabs don't actually "resize". That is to say, like many elements on a web page, they simply are the size they are as dictated by the amount of space required by their content. The background doesn't change size, but the area through which the background is seen does.
I suppose that's potentially governed by various things. I instinctively went for the .glowingtabs a span selector's padding (in the menu.css file - highlighted line, changes red):
Code:
.glowingtabs a span{
float:left;
display:block;
background:url(images/glowtab.jpg) no-repeat right top;
padding: 6px 14px 4px 5px;
font-weight:bold;
color:#3B3B3B;
}
Those are the top, right, bottom, and left padding values respectively. The above values looked right to me for a 12px Verdana font. If you use a different font, things may change. If you use a different font size, they definitely will.
BTW, the font should have backup:
Code:
.glowingtabs{
color:#FFFFFF;
float:left;
width:100%;
font:normal 12px Verdana, arial, sans-serif;
border-bottom: 4px solid #4c6c49;
text-decoration: none;
}
Otherwise, if Verdana is unavailable in a given browser, you likely will get a serif font like Times New Roman, which is not only ugly there, but also has a different size, such that it would throw off the alignment.
Bookmarks