Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS float proprerty issue ( + guidance ) [closed]

I need some help figuring out why my layout is messy. Here is what I was working on :The Site. The green box should be inside the purple box. I think there is a floating issue. Since I don't fully understand the float rules can someone help me identify the problem and suggest some good "old" documentation reading?

Thank you!

like image 642
Tbi45 Avatar asked Dec 11 '25 20:12

Tbi45


1 Answers

Add an overflow: hidden; to the div with id: content-n

#content-n {
    clear: left;
    position: relative;
    width: 980px;
    overflow: hidden; /* add this */
}
like image 135
Seer Avatar answered Dec 14 '25 08:12

Seer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!