No Margin for Error

Andy Budd analyzes and explains how collapsing margins can affect your CSS layouts. Important information to keep in mind when designing your site, especially when using margins to control vertical whitespace. This also affects floated elements and clearing floated elements. I ran into this problem when working on the latest version of this site. I had to add a border to various elements to get them to behave the way I wanted them to. And now I know why.

Might want to bookmark this one...

About this post

Andy Budd analyzes and explains how collapsing margins can affect your CSS layouts. Important information to keep in mind when designing your site, especially when using margins to control vertical whitespace. This also affects floated elements and clearing floated elements....

November 24, 2003 | CSS

More Like This

By Category

Recent Posts


Monthly Archives

We Endure