I am writing a webpage with a fixed footer on the bottom of the page. The content of the page has a specific width and is centered. The footer also has a specific width and must be centered.
Issues:
- I cant use
postiton: fixed
- footer is not centered - Page content is loaded dynamically from a database, so I can't know the exact height
- If the browser window is very small, the footer hits the content and covers it. A
z-index
hardly fixes it because I have a gradient on the background set like a body background.
So I would need something like float: bottom
....