Revise
I have made updates to a JSFiddle demo for users to test out. @Aspiring Aqib has offered a working solution using javascript, but CSS solutions are still encouraged.
Original Request
I successfully implemented a sticky footer following the guidelines on this website. The footer is functioning correctly, but I am facing difficulty in creating a content div .content
that fits perfectly between the header and the footer.
This is what I have so far (
.content
highlighted in yellow):
But I can't achieve this (
.content
contained precisely between the header and the footer):
You can view the updated demo here.
Any suggestions on how to make this possible?