为什么「margin:auto」可以让块级元素水平居中?

知乎链接:http://www.zhihu.com/question/21644198

关于BFC的解释:W3CFans http://www.w3cfuns.com/thread-5595727-1-1.html

                       前端精选温仔:http://www.cnblogs.com/lhb25/p/inside-block-formatting-ontext.html

posted @ 2014-11-23 20:46  disneyland  阅读(252)  评论(0编辑  收藏  举报