The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Appying background to floating divs Re: [Solved] Appying background to floating divs


I agree that wrapping those three in a div is the right approach. The reason that you see no background in the content_wrapper is because all of the contained divs are floated making their height essentially zero as far as content_wrapper is concerned. The old overflow trick will fix things…

#content_wrapper {
background: url(navigation/wrapperRepeat.png) repeat-y;
overflow: hidden;

That may not fixe everything but it will fix problem as it relates to the height of the div.

For the record, you should not use visually related id names… instead of left, center, right use name that indicate the type of content.


unwrapped studio is a print design boutique established by two creative individuals. Our mission is to transform your raw ideas into jaw breaking results…

Of course you would need to change the css declarations if you do this.