html - 浏览器兼容性 IE 与 FF/Chrome/Opera : spacing is off

标签 html css

http://www.pachamber.org/www/news/headlines/2011/whatsnew/PA%20Chamber%20joins%20nationwide%20business%20community%20in%20fight%20for%20reasonable%20regulation.php

如果您在 IE 中打开此网站,然后在 Chrome 或 FF 中打开它,您会注意到左侧的灰色区域。我一直在尝试调整标签上的宽度,但仍然无法正确调整。

任何人都可以提出任何建议吗?

谢谢。

编辑:添加链接以显示差异:

http://i.imgur.com/x4yLD.png

最佳答案

在您的 CSS 中,设置:

body, html {
    height:100%
}

并且不要使用表格进行布局。 90 年代结束了。

关于html - 浏览器兼容性 IE 与 FF/Chrome/Opera : spacing is off,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7432792/

相关文章:

javascript - jquery 高度返回 px 而不是 vh

mysql - 如何从 mysql 中的内连接查询中删除重复行

html - 将已更改文件夹中的背景图像插入到 css 文件中

php - PEAR MAIL HTML 电子邮件在 Hotmail/Yahoo/GMail 中格式不正确

html - 特殊字符(即 "?")显示在文本区域前面

html - 如何将视口(viewport)扩展到全屏宽度?

html - Internet Explorer 9 上的零星字体图标

java - 如何将 URL 参数从 Java 传递到 Windows 7 中的本地 HTML 文件?

html - 修复统一按钮边框半径

html - 带有图像的导航链接右对齐(基本 CSS)