View Full Version : footer centering problems
10-29-2009, 12:00 AM
how come the text in my footer div is NOT centered on this page: http://www.anneroselli.com/index1.html, but is on all the rest of the pages of the site: http://www.anneroselli.com/appearances.html, http://www.anneroselli.com/news.html, etc...
10-29-2009, 12:32 AM
Your float is not cleared and it's margin is extending into your footer and moving your xxx over.
Try clearing the floats like this -
Removing the bottom margin also works -
margin: 10px 0 0;
Removing the bottom margin is just to show you what's going on. The correct way to fix this is to clear your floats.
Have a look at this page (http://www.quirksmode.org/css/clearing.html)that explains how overflow:auto; clears floats for you.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.