-1
There is an easy solution to this.Take the Tab Content Template 1 as example, you will find this block of code at the bottom of the CSS file:
1. Fixed Height:
.tabcontents
{
border: 1px solid #B7B7B7;
padding: 30px;
background-color:#FFF;
border-radius: 0 2px 2px 2px;
}
Then, just add another two lines:
.tabcontents
{
border: 1px solid #B7B7B7;
padding: 30px;
background-color:#FFF;
border-radius: 0 2px 2px 2px;
height: 300px;
overflow: auto;
}
I would not suggest overflow:hidden as the content out of the range will be invisible to visitors.
2. Different Height for the two tab contents on the same page.
For the second tab content, add another class to the div.tabcontents in the HTML:
<div class="tabcontents cls2">
Then in the CSS, add:
.cls2
{
height: 400px;
}
As the cls2 is after the tabcontents, the CSS for cls2 will overwrite the .tabcontents specification.