Force Margin/Padding On Element Next To Floated Element

Avatar of Chris Coyier
Chris Coyier on

DigitalOcean joining forces with CSS-Tricks! Special welcome offer: get $100 of free credit.

Jeff Starr explains a classic CSS layout issue and suggests a fix. It’s the overflow that does it by triggering what I believe is called a new block formatting context.

Direct Link →