3.2.0

Fixed width for tab cells

I did not find any tobic regarding this issue , how to create a fixed width for the cell tabs (using ifram tab controls ) , so my tabs will look exactly the same as seen on Yahoo site widgets ,,,
Steef
August 22,
use

#myTabs .aw-item-template {
    width: 100px;
}


or

.aw-ui-tabs .aw-item-template {
    width: 100px!important;
}
Alex (ActiveWidgets)
August 23,
Hi again , actually this creates cell tab with 100 px width , but what I meant is making the width auto for each cell according to the width of the table which is set to 100% , so if the table will be 300 px thats mean each cell with auto be 100 px and so on ,,,
Steef
August 23,
You can set the tab width in %, so if you have 3 tabs set each to 33% -

#myTabs .aw-list-template {
    width: 100%;
}

#myTabs .aw-item-template {
    width: 33%;
}
Alex (ActiveWidgets)
August 24,
Thanks alot , this works great man ,,,
Steef
August 24,

This topic is archived.

See also:


Back to support forum