我希望实现这样的布局:
-----------------------------------------------------------
| |
| 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 |
------------------------------------------------------------
使用CSS和HTML,不使用JavaScript,是否可能?滚动条应完全可见,从顶部到底部。
这里设置了一个示例布局http://jsfiddle.net/uKejq/9/。我想达到相同的效果,但不使用JavaScript。是否可能?