Candy, A Journal by a James

Bye bye liquid layouts!

Yes, I am pre­dict­ing the death of liquid lay­out of web pages. Not all mind you, some web apps will still be liquid, but for the rest of the web: liquid is dead. This is a nat­ural next step after declar­ing elastic lay­outs dead, so no sur­prises here.

There are three main ways to define your lay­out in web design: fixed, elastic & liquid. Having writ­ten about the dif­fer­ences between them before, I’ll suf­fice with stat­ing that fixed lay­outs are defined in “px” (pixels) and liquid ones in “%” (percentages).

Using a fixed lay­out means your web page is the same width irre­spect­ive of the view­ers’ screen width, like so:

Fixed layout.

Using a liquid lay­out how­ever, means your web page scales along with the view­ers’ screen width, like so:

Liquid layout.

Liquid lay­outs used to have an edge over pixel lay­outs in the sense that they increased use of the screen real estate, thus provid­ing more room if the viewer increased their text-size. Line-lengths are hard to con­trol with liquid lay­outs, because of vary­ing screen-sizes obvi­ously, but also when the viewer increases (just) the text-size. Jason Kottke pos­ted a good warn­ing about line-lengths in liquid lay­outs a while back:

Attention liquid design­ers: take a gander at this por­tion of an ancient Egyptian parch­ment on papyrus from the Louvre. Even the ancient Egyptians knew not to make columns of text too wide.

Now, how­ever, most browsers have adop­ted full-page zoom­ing over text-size zoom­ing. Most provide both, but full-page zoom­ing is the new default. Full-page zoom­ing gives users with a wider screen (for example) the chance to increase the size of text and images, while still pre­serving the ratios of fixed lay­out pages, like so:

Fixed design with full zoom.

As you can see, full-page zoom­ing means fixed lay­outs also provide increased use of screen real estate, but only when needed. In addi­tion fixed lay­outs keep line-lengths rel­at­ively stable, and are easy to work with as they are based on pixels, just like images, videos and other objects you may have on your web page.

7 Responses to “Bye bye liquid layouts!”

  1. Joen says:

    Really inter­est­ing obser­va­tion. You might actu­ally be right on this prediction.

    I do think that for many web­sites, liquid will stay — mainly news web­sites and webapps such as gmail and google calendar.

    But for the bulk of web­sites, indeed it is easier to design without the flexiwidth.

  2. Of course, if Google Chrome sticks to text-only-zoom, we’re still nowhere!

  3. ScrumpyJack says:

    And don’t for­get Safari! As the Apple browser becomes more pop­u­lar dur­ing the impend­ing Mac Boom, a lot of design­ers that haven’t factored that in will be screwed!

    Twitter: @simon­hamp

    • True, Safari (and IE 6) are the only browsers with (semi-)sizable mar­ket­shares which don’t fea­ture full page zoom. I men­tioned Safari in Px vs Em: Is it still rel­ev­ant? (first link in the article):

      PS. * I don’t know what Safari is plan­ning, but if all major play­ers do it, I expect them to fol­low suit (even­tu­ally, as they’ll want to do it right). They also have to deal with more depend­en­cies, like Dashboard, than most other browsers.

      I wrote that before the intro­duc­tion of Google’s Chrome browser though — I’m not as sure as I was that browser­makers will all offer full page view in the future. I still hope so though.

  4. I agree James. I always used to design for liquid because I believed that that’s what users wanted. But the pos­it­ive feed­back I received on chan­ging to a fixed width on my own web­site con­vinced me to adopt fixed by default.

    I once wrote some­where that zoom should be handled by the browser, not by the designer and I still believe that. It’s heart­en­ing that browsers now sup­port a proper zoom func­tion (I’m sure Safari won’t be far behind) — and this devel­op­ment sig­nals the end of liquid in my eyes too.

  5. Kretzschmar says:

    I have to agree. Liquid is dead. The already avail­able beta of Chrome 2.0 sup­ports full page zoom already.

    As the page zoom is part of WebKit, it should be avail­able for Safari in the next ver­sion too (maybe it is already there, I don’t use Safari).