Why is this inline-block element pushed downward?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Following is my code and I want to understand that why #firstDiv is being pushed downward by all browsers. I really want to understand the inner workings of the fact that why its being pushed downward rather than pulling it upward by one way or another. (and I know how to align their tops :)) And I know that its overflow:hidden which is causing it but not sure that why its pushing that div downward. FIRST SECOND THIRD some more content some more content body{ width: 350px; margin: 0px auto; } #container { border: 15px solid orange; }