View Full Version : Element being pushed down ???
01-03-2010, 02:59 AM
The main content box is being pushed down for no apparent reason - well, I'm sure there's a reason. I think I just need a second set of eyes to give mine a rest.
Any suggestions/fixes/ideas/myster solvers? Thanks.
01-03-2010, 03:27 AM
Always remember kids, floated elements should appear BEFORE the elements in which you would like for the floated element to float. Also, be sure to assign a width to your floated element, otherwise it pushes everything else down...
01-03-2010, 03:40 AM
That is an awfully large background image that is only giving you white background. You could crop that header off it, use that as a background of #header and just use a #fff background on #container for a better affect.
Instead of using extra markup for clearing your floats, have a look at this method. (http://www.quirksmode.org/css/clearing.html)
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.