【问题标题】:IE8 css style table width and alignment woesIE8 css 样式表格宽度和对齐问题
【发布时间】:2012-10-10 17:35:55
【问题描述】:

http://techmobile.com/defaultIE8TEST.html#footer

看起来我的 hometext div 下的表在 IE8 中工作正常(根据 browsershots dot org IE7 的正文页脚也被拍摄)。

ie8 http://browsershots.org/screenshots/6d7e47f9d7a763a5942211235691915c

表格宽度不够延伸并衬托了其他图形,这是我对问题的总结。但是什么 CSS 修复了它?

我添加了最后一部分#wrapper #hometext。否则,IE8 的 CSS 中很少有 nuggets

@charset "UTF-8";
/* IE 8 CSS Document */


/* top area */

#top #phone {
    width: 110px;
    font-size: 17px;
    font-weight: bold;
}
#wrapper #headermenu ul.menu li {
    font-weight: bold;
}

#wrapper #hometxt {
  background-color: #FFFFFF;
  border: 0 solid #000</b>

}

【问题讨论】:

    标签: css internet-explorer-8 alignment


    【解决方案1】:

    尝试添加

    style="table-layout: fixed;" 到表格标签。

    【讨论】:

    • 嗯嗯,这不是表格宽度。 . .我检查了所有的 div
    • 好的,确实修复了表格,但没有修复框。所以桌子的宽度没有扔掉盒子 [link] techmobile.com/defaultnomoescroll5.html [/link]
    • @ScottJaxon 你能提供你想做的图片吗
    • 底部的蓝色框在 IE8 中无法正确呈现。如此处所示:browsershots.org/screenshots/dac3c2ea6c3e603968c3feeb3a743d2b
    • 好的,这是溢出问题:溢出:隐藏 - 现在只有在 IE8 中 PaPal 按钮周围显示一个白框。
    猜你喜欢
    • 1970-01-01
    • 2012-04-26
    • 2013-11-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-11-03
    • 1970-01-01
    • 2017-04-29
    相关资源
    最近更新 更多