How can I make Html elements fit the vertical space?
This is what I want to achieve: DEMO but without specifying elements heights.
PS: I know how to do this with JavaScript, looking for a HTML/CSS solution.
Thanks
Edit after answers:
I want to keep this effect working (is already working) but without JavaScript, because is already consuming a lot of processor.
The effect: The title bar and the window content fit the total window space, for each window in my
demo website.
Thanks
You are using ba-resize jQuery plugin, you can make your code lighter by increasing the delay option of the plugin, (default is 250)