25

The question is simple and short: why does overflow: hidden; clear floating? I looked in to the w3 standard documentation and it did not imply anything.

Tower
  • 98,741
  • 129
  • 357
  • 507

1 Answers1

26

Because you establish a new Block Formatting Context when using overflow with anything ofther then visible (link to the w3.org specs).

ChristopheD
  • 112,638
  • 29
  • 165
  • 179