How do I center my footer?
In the CSS, I changed width and the #wrap and #page-body so my forum pages can adjust automatically if the user has a bookmark sidebar on their browser. Wecoc solved this problem. See https://help.forumotion.com/t155525-site-pages-too-wide-need-to-fit-any-browser-when-bookmark-sidebar-used-by-users
Even before I made this change, I couldn't get my footer centered - I tweaked the footerbar width a lot but never got it completely centered. This is how the code looks:
So I tried width: auto, and I tried width: center. Neither worked. What's the magic code?
Thanks.
In the CSS, I changed width and the #wrap and #page-body so my forum pages can adjust automatically if the user has a bookmark sidebar on their browser. Wecoc solved this problem. See https://help.forumotion.com/t155525-site-pages-too-wide-need-to-fit-any-browser-when-bookmark-sidebar-used-by-users
Even before I made this change, I couldn't get my footer centered - I tweaked the footerbar width a lot but never got it completely centered. This is how the code looks:
- Code:
.footerbar {
background-image: url("https://i62.servimg.com/u/f62/19/89/15/20/footer15.png");
background-repeat:no-repeat;
width: 240px;
height: 290px;
margin: auto;
overflow: hidden;
margin-bottom: -120px;
padding: 10px;
So I tried width: auto, and I tried width: center. Neither worked. What's the magic code?
Thanks.