I am coding a layout right now and I am having trouble with the footer. My content is a fixed height and so I wanted my footer to be 100% of the remaining page. But when I added height: 100% to my footer, I found that it doesn’t work. Does anyone know why and have a solution for this? I have a repeating background image that I need to fill the space and I don’t want white space below my footer. That’s why I need it to be 100%
This reply has been reported for inappropriate content.
well i read that the reason height: 100% doesn’t usually work is because it needs a parent container with a height set. so the idea was to set the body to a height Of 100% then the footer would have a container to go off of, but it’s not working for me.