I am trying to build this very simple (visually speaking) layout using HTML/CSS that you can see in the wire frame below:
/------------------------------------------\
| |
| header div |
| |
|------------------------------------------|
| |S |
| main div |C |
| |R |
| |O |
| |L |
| |L |
| | |
| |B |
| |A |
| |R |
\------------------------------------------/
It has a 200 pixel high "header" DIV that fills 100% of the view port horizontally and then below it is the "main" DIV that fills 100% of the remaining empty space (horizontally and vertically) with scrolling set to "auto" to account for any overflowing content.
The hard part is getting the "main" DIV to fill this remaining space without using JavaScript. when I cant really use percentage heights and still have the scroll bar be entirely visible.
I guess at this point I am willing to use tables for this basic part of the layout if that becomes the only non-JS option. Semantics wont be an issue.
So how can I go about doing this? An example would be great too!