sizeable <div>
Hi everybody,
I'm doing a webpage where I have to put a huge amount of data in a table.I want to always keep showing the top menu. So what I do is a "little scrollable windows" for the data. The problem is that I want the page to don't have a scrollbar but expand as much as I can my data windows with its own scrollbar.
So here is my code to make my scrollable windows for my data
<style type="text/css">
<!--
div.scroll
{
height: 600px;
width: 100%;
overflow: auto;
border: 1px solid #666;
background-color: #ccc;
padding: 1px;
}
-->
</style>
But the problem is that I can't choose a percentage for the height so is there a way to retrieve the windows size and adjust the data windows from there??
Thank you very much
|