ober Posted March 22, 2010 Share Posted March 22, 2010 http://www.americanbeautytools.com/v2/ Any clue why the footer won't center? This is driving me insane! #footer { position: relative; height: 31px !important; padding: 10px; width: 1063px; color: rgb(102,102,102); font-size: 10px; text-align: center; } Quote Link to comment https://forums.phpfreaks.com/topic/196070-footer-wont-center/ Share on other sites More sharing options...
haku Posted March 22, 2010 Share Posted March 22, 2010 What's the HTML for the footer? CSS without HTML is like icing without a cake. Quote Link to comment https://forums.phpfreaks.com/topic/196070-footer-wont-center/#findComment-1029821 Share on other sites More sharing options...
n000bie Posted March 22, 2010 Share Posted March 22, 2010 200803.css body { margin-left: 50%; } body div.page { margin-left: -531px; } dunno why those styles are for but if you comment those 2 styles footer will be in the center Quote Link to comment https://forums.phpfreaks.com/topic/196070-footer-wont-center/#findComment-1029854 Share on other sites More sharing options...
ober Posted March 22, 2010 Author Share Posted March 22, 2010 Thanks n000bie. Not sure how those got in there... they certainly aren't needed! Quote Link to comment https://forums.phpfreaks.com/topic/196070-footer-wont-center/#findComment-1030045 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.