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
- CSS 102: Borders and Backgrounds
- Hey, I know that guy!
- New Article at Digital Web Magazine
- Safari Bug update
- Safari Bug
By Category
- Apple
- CSS
- Christianity
- NaBloPoMo
- cycling
- design
- digital photography
- digital video
- family
- fitness
- iPod
- meta
- politics
- random
- speaking
- web standards
- writing
Recent Posts
- Liberal Bias
- A key to success in the marketplace?
- 100!
- 100 push ups, week 6, day 3
- 100 push ups, week 6, day 2
Monthly Archives
- October 2008
- July 2008
- June 2008
- April 2008
- March 2008
- January 2008
- December 2007
- August 2007
- December 2006
- November 2006
- September 2006
- July 2006
- March 2006
- February 2006
- October 2005
- September 2005
- August 2005
- July 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- April 2004
- March 2004
- February 2004
- January 2004
- December 2003
- November 2003
- March 2000-August 2003