CSS 显示 : online; not working in IE7

标签 css internet-explorer-7 inline

如果您查看此链接 http://northshorewebdesign.net/walkboston/index.html在左下角附近有一组 4 个导航图标。你会注意到它们不是水平坐着,而是对 Angular 线坐着——这不是我想要的。在 FF、Chrom、IE9 中,图标按应有的方式水平排列。有人能告诉我为什么在 IE7 中要对 Angular 线吗? 我设置了 display: inline;和 float :左;

最佳答案

您应该设置它们display:block 并为它们中的每一个设置一个width,然后float:left 将按照您的意愿工作.

关于CSS 显示 : online; not working in IE7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6854938/

相关文章:

javascript - 在不实际向服务器发送请求的情况下访问点击的链接

javascript - 从 JQuery Mobile 站点切换到 PC 站点时如何加载新样式表

html - 在 Internet Explorer 7 中使用 z-Index 定位 div

java - 设置变量时Python内联if

Html5 彩色下拉菜单不起作用

html - ie7 BUG : padding left and right with direction rtl

css - IE6 float 标签

c++ - 模板函数+仿函数参数,为什么仿函数没有内联?

c++ - C 中的内联参数是否复制了两次?

php - 是否可以在 PHP 中获取 <a href>?