Call Montréal, Canada 524-949-6869

Blog

Friday, October 1, 2010

Collapsing Margins in CSS

This is one of those rudimentary behaviours in CSS that I need to be reminded of once and a while. Top and bottom margins from adjacent elements will collapse. The element with the larger margin will prevail.

Collasping margins in CSS

Developing Ruby on Rails applications and custom Content Management Systems in Montréal. Contact Firsthand.