:: Forum >>

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
Wednesday, August 22, 2007
use

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


or

.aw-ui-tabs .aw-item-template {
    width: 100px!important;
}
Alex (ActiveWidgets)
Thursday, August 23, 2007
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
Thursday, August 23, 2007
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)
Friday, August 24, 2007
Thanks alot , this works great man ,,,
Steef
Friday, August 24, 2007

This topic is archived.


Back to support forum

Forum search