In CSS, how to not float a 300px wide Div to the next line?

谁说胖子不能爱 提交于 2019-12-06 04:09:06

Set the 4 inner divs to display: inline-block; Then you can use white-space: nowrap;.

The float can then be removed.

Note: If you must support IE7 and below, add the following conditional CSS:

<!--[if lte IE 7]>
<style  type="text/css">
    .BottomWrapper div
    {
        display:            inline;
        position:           relative;
        bottom:             0;
    }
</style>
<![endif]-->
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!