I have looked for similar problems here and elsewhere, but I cannot find a definitive answer. When I add enough text to the page that it reaches in the footer, the footer simply overlaps the text. The same thing if I reduce the size of the browser window to make the footer and the container containing the content meet. Sometimes this also appears in the “container”, for example, in the lighter gray part, which for some reason shrinks, although it should always rise 100% of the height.
This is the material that keeps me up all night, so I don’t think very clearly. I am sure that this is something stupid and easy to fix, but I am not a professional designer and, of course, I do not understand what the problem is.
Below is my CSS and JSFiddle, which I did with all the relevant parts of the page.
html, body { margin: 0; padding: 0; } html, body { background: #252525; font-family: Arial, Helvetica, sans-serif; height: 100%; text-align: center; } body { background: #363636; border-left: 1px solid #111; border-right: 1px solid #111; margin: 0 22.5%; } #container { color: white; margin-bottom: 2em; min-height: 100%; overflow: auto; padding: 0 2em; text-align: justify; } #footer { bottom: 0; color: #707070; height: 2em; left: 0; position: fixed; font-size: small; width:100%; }
Typical Page Layout
source share