- RobotZoo - http://robotzoo.co.uk -

CSS - Creating Liquid Layouts with Negative Margins

Posted By admin On 29/07/2007 @ 04:53 pm In CSS, Web Design | No Comments

by [1] Ryan Brill another great ’A List Apart’ tutorial:

I was recently confronted with the task of creating a two-column liquid layout with a header and footer in which the content needed to come before the sidebar in the source code. I took opportunity to demonstrate an under-used aspect of CSS: negative margins. Negative margins allow us to push the content area away from the sides of the browser, leaving room for the sidebar.

[2] http://www.alistapart.com/articles/negativemargins/


Article printed from RobotZoo: http://robotzoo.co.uk

URL to article: http://robotzoo.co.uk/2007/07/29/css-creating-liquid-layouts-with-negative-margins/

URLs in this post:
[1] Ryan Brill: http://robotzoo.co.uk/authors/b/ryanbrill
[2] http://www.alistapart.com/articles/negativemargins/: http://www.alistapart.com/articles/negativemargins/

Click here to print.