I designed a webpage with a footer that contains another div holding centered content. The footer is supposed to span the entire width, while the inner content div is set to 960px with a margin auto to center it.
<footer>
<div class="footer-inner">Content</div>
</footer>
Here is the CSS:
footer {float: left; min-width: 100%; background-color: #000;}
footer-inner {width: 960px; margin: 0px auto;}
The issue arises when I resize the browser and see that the footer no longer stretches across the full width but gets cut off:
Screenshot:
Website:
If anyone can offer assistance, I would greatly appreciate it. I have already spent a lot of time researching this issue without any success, so now I turn to you for help!