I am trying to create a tabbed JS web application. The peculiarity of the interface is that the tabs should be as tall as the window, and the content should scroll if it is larger than the window. Content is created from several left floating panels that fill the screen.
I already have a part of the solution, but I cannot figure out how to set the height to 100% and scroll for the container.
http://jsfiddle.net/KhwZS/1242/
<div class="tabs">
<ul>
<li><a href="#tab1">Tab1</a></li>
</ul>
<div id="tab1">
<div class="container clearfix">
<div class="floated"></div>
<div class="floated"></div>
<div class="floated"></div>
</div>
</div>

source
share