Link Details

Link 93330 thumbnail
User 225135 avatar

By skoop
via kilianvalkhof.com
Published: Jul 08 2008 / 16:20

I was recently introduced to the phenomenon of margin collapsing. If you didn’t click the link, this is what it does: When you have two elements with a bottom and a top margin under each other, the margins will collapse into each other, so that the larger of the two becomes the margin between them.
  • 12
  • 0
  • 1036
  • 219

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (12)



Voters Against This Link (0)