Creating Liquid Layouts with Negative Margins

by Ryan Brill

5 Reader Comments

Back to the Article
  1. Hi folks, the links to the examples are broken although easy enough to edit in the URL bar ;) Also a typo W’ll for We’ll. Great article, very useful.
    Copy & paste the code below to embed this comment.
  2. Hey thanks for the example, even if it’s broken link as Robin says ( http://www.alistapart.com/d/negativemargins/ex4.htm ) I used it to put a left sidebar and it worked too!
    Copy & paste the code below to embed this comment.
  3. Why didn’t I visit this website earlier. And to think of all the time I wasted trying to learn CSS from other websites! Great article.
    Copy & paste the code below to embed this comment.
  4. Hi, do you think is possible to replicate example 5 in vertical (top bar/bottom bar in place of sidebars)? I tried but it doesn’t seem to work, please reply is very important :)
    Copy & paste the code below to embed this comment.
  5. What if we want to use some fancy different colors for “content” and “sidebar” ? And still have different background color for the wrapper behind them?
    Copy & paste the code below to embed this comment.