先放两个链接

链接

http://www.hicss.net/do-not-tell-me-you-understand-margin/
http://www.w3cplus.com/css/understanding-bfc-and-margin-collapse.html