PDA

View Full Version : CSS trouble



stupidsaint
March 30th, 2010, 04:44 PM
New to CSS I'll admit, but I'm not new to code, however this has me baffled.

I have of-course Googled it but cannot find anything.

http://www.digitalpassion.co.uk/beta/

The "I am a box" divs dont stay inside the content box, but instead overlap over the bottom, suggesting an absolute position.

Is there any way around this?

thanks

StupidSaint

AKA MrChuckles

Cirunian
March 30th, 2010, 05:07 PM
The problems you are getting are related to the floating of the boxes. I'm not sure what the best solution is, but to get you started try adding "clear:both;" to your #main.

ph0zZy
March 30th, 2010, 05:45 PM
I agree with Cirunian it has something to do with floating boxes. Add "clear: both" to your #sidebar. That should fix your problem.