Grow your CSS skills. Land your dream job.

#10: Fixed Width, Fluid Width & Elastic Width

There are three different types of layouts for websites: Fixed Width, Fluid Width, and Elastic Width. In this screencast we look at all these three varieties of sites out on the web as well as some hybrid sites and other techniques for making use of wider browser windows. True "fixed width" sites will be a thing of the past when the modern browsers of today take hold in greater numbers. Opera 9, Firefox 3, and IE 8 all have "zoom" abilities, which make fixed width sites behave like elastic width sites. At the end of the screencast I show a very simple example on getting started with all three types.

Comments

  1. Permalink to comment#

    i am trying to set an absolute width for my site so that when you view a group on a monitor with WIDE resolution the viewer won’t see the strip of color on the right…any ideas?

  2. Adam
    Permalink to comment#

    Look at using a background image that can fade/blend into a colored bg. Simple fix, but not sure if that will ruin your design.

  3. alpio
    Permalink to comment#

    great video!

Leave a Comment

Posting Code

Markdown is supported in the comment area, so you can write inline code in backticks like `this` or multiline blocks of code in in triple backtick fences like this:

```
<div>Example code</div>
```

You don't need to escape code in backticks, Markdown does that for you. If anything screws up, contact us and we can fix it up for you.

*May or may not contain any actual "CSS" or "Tricks".