Force Margin/Padding On Element Next To Floated Element

Avatar of Chris Coyier
Chris Coyier on

DigitalOcean provides cloud products for every stage of your journey. Get started with $200 in 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 →