Struggling to design a layout with specific features:
- 3 fluid columns
- Columns that stretch to full height
- A header
- Sticky footer
Came across a related query on stackoverflow: CSS layout with header, footer and multiple 100% min-height content columns
The solution provided in the link involved using a table-based layout. However, I'm keen on avoiding tables to easily hide outer columns on smaller screens.
Shared the code created so far here:
The demo shows near success but the ideal layout changes aren't consistent upon resizing.
Currently tackling these resizing bugs:
- Transitioning from a tall window to a short one prompts an unnecessary scrollbar.
- Moving from a wide window to a narrow one causes middle column content to disappear under the footer.
Experimented with
$(window).height()
in place of
$(document).height()
but encountered new issues as a result.
Any assistance would be greatly valued!