CSS Margins – IE & Firefox

Last modified on:

If you ever get margins in IE and Firefox being different then you should take a look at this article” by Andy Budd. Its all about the collapsing margins apparently!

The story goes that two elements that have margins will see the margin on the second element collapse if they are touching. I’ve been having trouble with these for months and finally I have a way to avoid it instead of creating crazy workarounds that work for reasons I don’t fully understand!


Published on

in

by

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *