How to size an inner div to make an area take up 100% of the screen

huntermanxxx

New Member
I have a page like this:\[code\]<body><div class="outerdiv"><div class="someDiv"><div class="flexible"></div></div><div class="someOtherDiv"></div></div></body>\[/code\]I need to write css and javascript to make this layout take up 100% of the screen by adjusting the size of the flexible div. I especially appreciate solutions that can handle complex scenarios with flexible div being nested in other divs and the content being a not known in advance.
 
Back
Top