View Full Version : Tab Content Script (v2.2)

09-28-2010, 04:50 PM
script: Tab Content Script (v2.2)

Recently I used Tab Content Script (v2.2) on my website and I am very happy.

I have a question about adjusting the width of the tab, the tab is as wide as the text. If a number of tabs to each other with different sizes, this is not pretty.

How can I set a default size of eg 10 characters make.
I have the document tabcontent.css .shadetabs try to include:
- [width:10%;] or
- [width:25px;]
but that does not work.

I hope someone can help me, thank you.

To get an idea of what exactly I mean please visit:

09-29-2010, 02:49 AM
On the page containing the vertical tabs where you wish their widths to be uniform, try adding the below to the HEAD section of your page, following the reference to tabcontent.css:

<style type="text/css">

.shadetabs li a{
display: block;


Setting the A element of each tab to display:block lets you adjust the width of the element.

09-29-2010, 06:24 AM
Fantastic, it works.
I am very happy.

Regards, Ton