This question already has an answer here:
I want to achieve a layout like this:
-----------------------------------------------------------
| |
| header height is its content dependant. |
| its height is not set. |
| it is as heigh as its content stretches it |
|----------------------------------------------------------|
| | s |
| takes all the rest available screen height | c |
| it is fluid height, not fixed, | r |
| dependent on the screen height | o |
| | l |
| | l |
| | b |
| | a |
| | r |
------------------------------------------------------------
Using css and html, without javascript, is it possible? Scrollbar should be completely visible, from top to bottom.
An example layout is setup here http://jsfiddle.net/uKejq/9/ I want to achieve the same, but without using javascript. is it possible?
css:
html:
Please refer to this,
Remove the borders and adjust the width that you want.
CSS
HTML
http://jsfiddle.net/uKejq/1/