In print design, the containing block is a physical object like a
business card or a billboard. On the Web, our container is the browser
window. Should the design fill the browser window, or should it have a
set width? This decision is one that has plagued web designers for
hundreds, if not thousands of years — all the way back to the days when
we used tables and
One reason some designers reject fluid layouts is because they think it impedes them using a grid to create their designs. There are several resources available for designing fluid layouts on a grid, including a fluid adaptation of the 960 Grid System. Ultimately, though, the decision to use one type of layout over the other should really be determined by the target audience, and the accessibility goals of each individual website. The pros and cons of each layout type are fairly well-defined, as the table below outlines:
With
these pros and cons in mind, I’ve designed more fixed-width layouts
than liquid. I like having control over how the content will display,
and working with the background space. On the flip side, I sometimes
enjoy the challenges that liquid layouts bring to the table. But,
regardless of personal preferences, it’s important to put the needs of
your client first. If you’re deciding on the width of a fixed-width
layout, you have to think about the audience for which you’re designing,
and create a layout that meets the needs of those users.
Rather than repeat the entire article here, I highly recommend that you check it out. If I had to name this layout technique myself, I would call it the Omnipotent Mercury Morphing Methodology, but that’s probably why I didn’t come up with it. The idea is that as the mobile market makes browser window widths more and more inconsistent, the need for our layouts to be fluid and adapt to different widths is increasingly vital. The technique takes advantage of some fancy fluid scaling and CSS3 media queries to completely change the layout as it hits certain width thresholds. The graphic below shows screenshots of Ethan’s example at three different browser widths.
Ethan’s responsive web design (or Omnipotent Mercury Morphing Methodology) is a great solution
spacer.gif
files to lay out web page content. Okay, maybe not thousands of years ago, but this is a long-standing debate nonetheless.Fixed Width
If you’ve started your layout with the 960 Grid System that I talked about earlier, chances are you’re working toward a fixed-width layout. These designs are wrapped with adiv
that’s given a pixel-based width (say, 960 pixels), and centered within the body tag using margin: 0 auto;
. If the browser window is wider than 960 pixels, you’ll see the body
element’s background to the left and right of the container; and if
it’s narrower, you’ll have a horizontal scrollbar. Fixed-width layouts
are easier to design for — and maintain — because you’re essentially
building exactly what you design in Photoshop or your design program of
choice. The graphic below shows a similar layout structure as fixed and
as fluid in the same width of browser space:Fluid Width
A fluid or liquid layout is designed with percentage-based widths, so that the container stretches when you resize the browser window. These take more thought to plan, as you have to foresee problems that might occur at every possible width. Sometimes pixel-width columns are mixed with percentage-based columns in a fluid layout, but the idea is to show the user as much horizontal content as will fit on their screen. Typically, fluid layouts take advantage of themin-width
and max-width
properties of CSS, ensuring the container doesn’t become ridiculously narrow or wide.One reason some designers reject fluid layouts is because they think it impedes them using a grid to create their designs. There are several resources available for designing fluid layouts on a grid, including a fluid adaptation of the 960 Grid System. Ultimately, though, the decision to use one type of layout over the other should really be determined by the target audience, and the accessibility goals of each individual website. The pros and cons of each layout type are fairly well-defined, as the table below outlines:
Pros | Cons | |
---|---|---|
Fixed width |
|
|
Liquid width |
|
|
An Alternative: Responsive Layouts
It’s been said that for every rule, there’s an exception. That’s usually true in the web world, and designers have come up with many variants and hybrids of fixed-width and fluid-width layout structures. I’ve seen articles recently that list up to ten different layout types. For the purpose of this chapter, however, most of those could be categorized as either fixed or fluid. On A List Apart article, though, introduced a novel layout type that I think we’ll be seeing a lot more of. The article was titled “Responsive Web Design” and it was written by Ethan Marcotte.Rather than repeat the entire article here, I highly recommend that you check it out. If I had to name this layout technique myself, I would call it the Omnipotent Mercury Morphing Methodology, but that’s probably why I didn’t come up with it. The idea is that as the mobile market makes browser window widths more and more inconsistent, the need for our layouts to be fluid and adapt to different widths is increasingly vital. The technique takes advantage of some fancy fluid scaling and CSS3 media queries to completely change the layout as it hits certain width thresholds. The graphic below shows screenshots of Ethan’s example at three different browser widths.
Ethan’s responsive web design (or Omnipotent Mercury Morphing Methodology) is a great solution
Hi,If the Internet is the best place to start, especially search engines. Free Web Design Cochin, access to the Internet to give in various ways.Thanks......
ReplyDelete