【问题标题】:Issue with formatting in Internet Explorer (float)Internet Explorer (float) 中的格式问题
【发布时间】:2013-03-19 05:39:22
【问题描述】:

在 Internet Explorer 上格式化有点问题

网站here

在标题中,所有内容都应该出现在 1 行中。在 chrome 和 FF 中,确实如此,但是当我打开 ie9 时,它显示为一个新行。我已尝试更改浮动、更改显示类型以及修改宽度和边距属性,但我无法解决此问题。

对于 headRight 类,即使我改变了宽度,它在 IE 中也没有改变,我不知道为什么。

代码在这里:

.headRight { width:650px !important; _width:600px!important; float:right;}
.faderdiv
{
display:inline;
float:right;
margin-top: 35px !important;
}
.donate
{
display:inline;
float:left;
margin: 55px 90px 0 !important;
}

【问题讨论】:

  • 为什么它在页面加载时下移?

标签: html css internet-explorer explorer


【解决方案1】:

这实际上适用于 ie7,但我认为这也适用于您的问题。 IE7 float right problems

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-03-27
    • 1970-01-01
    • 2012-07-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-11-21
    相关资源
    最近更新 更多