• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Not So Minimal > Float Overflow

Float Overflow

The float attribute is technically not a layout tool. Floats were developed to give text the ability to wrap around inline elements, and were never intended for use as a full-blown layout method. We must use floats, though, for one simple reason: No other layout tool allows content to be cleared.

Tip

Eric Meyer has written extensively on the subject of clearing floats. Make sure not to miss “Containing Floats” (www.complexspiral.com/publications/containing-floats).



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint