CSS – Creating Liquid Layouts with Negative Margins

by 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.


Leave a Reply

You must be logged in to post a comment.