In my current project, I am dealing with several web pages. For each page, I have arranged three div
tags:
- Header
- Body (content)
- Footer
The issue arises when it comes to the body div
tag, which houses the main content of a page such as forms and descriptions.
Due to my small screen size, I have set an absolute/fixed min-height: 450px
.
However, on larger screens, the footer ends up misplaced in the middle of the screen. What should I do to ensure that the footer always remains at the bottom of the screen, regardless of the screen size?