Hello everyone! I am having trouble deciding on the best approach to achieve a layout like the one below:
+------------------------------------------------------------+
| div 0 , varying height
+------------------------------------------------------------+
| div 1 , varying height
+------------------------------------------------------------+
| div 2 , varying height
+------------------------------------------------------------+
| div 3 , fixed height
+------------------------------------------------------------+
| div 4, varying height but needing to be scrollable (contains a table that should be scrolled through)
+------------------------------------------------------------+
| div 5 , fixed height, positioned at the bottom and always visible!
+------------------------------------------------------------+
I have attempted using both display: table/table-row and various absolute/relative positioning solutions, but I have not been successful!
EDIT: It would also be beneficial if the same functionality could be achieved by wrapping div3, div4, and div5 in another div.
EDIT2: This is my current solution
using display:table
JSFiddle Link
However, is it possible to make div#cont
scrollable?
Thank you