Hello everybody
in this webform, the tabs in the tabs container area don't stay in line once they don't have enough horizontal space. Try clicking on all of them, you'll see what I mean.
http://www.schoolsdebate.org/index.php/en/europenform2013
Since my template doesn't support tabs, I've added the CSS code suggested in the FAQ section (changed a few colours, though😉 )
On a more aesthetic level, how could I make all boxes and tabs have the same width, so that they align on both, left and right sides?
Thanks for any help,
Chris
in this webform, the tabs in the tabs container area don't stay in line once they don't have enough horizontal space. Try clicking on all of them, you'll see what I mean.
http://www.schoolsdebate.org/index.php/en/europenform2013
Since my template doesn't support tabs, I've added the CSS code suggested in the FAQ section (changed a few colours, though😉 )
dl.tabs {
clear: both;
float: left;
margin: 50px 0 0;
z-index: 50;
}
dl.tabs dt {
background: none repeat scroll 0 0 #F0F0F0;
border-left: 1px solid #CCCCCC;
border-right: 1px solid #CCCCCC;
border-top: 1px solid #CCCCCC;
color: #000000;
float: left;
margin-right: 3px;
padding: 4px 10px;
}
dl.tabs dt.open {
background: none repeat scroll 0 0 #F9F9F9;
border-bottom: 1px solid #FF9100;
color: #FF9100;
z-index: 100;
}
div.current {
border: 1px solid #CCCCCC;
clear: both;
max-width: 500px;
padding: 10px;
}
div.current dd {
margin: 0;
padding: 0;
}
dl#content-pane.tabs {
margin: 1px 0 0;
}
On a more aesthetic level, how could I make all boxes and tabs have the same width, so that they align on both, left and right sides?
Thanks for any help,
Chris