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

Chapter 5. Building Elastic Layout Struc... > Creating Elastic Columns Using Float...

Creating Elastic Columns Using Floats

Now that you have a better idea of how ems work, let’s start using them to create elastic layouts.

When we made liquid layouts in the last chapter, creating multi-column layouts was a matter of stopping the default top-to-bottom stacking of some of the divs to create side-by-side columns instead. We didn’t have to worry about making the divs liquid, since they, like all block elements, are liquid by default. The process of switching the divs from being liquid to being elastic is going to require a little more work.


You are currently reading a FREE PREVIEW of this book.

Sign-up to get instant access to over
$1 million worth of books and videos.

Start a Free Trial