0

我的 wordpress 主题在 chrome 、 Firefox 和 Opera 中看起来是正确的(截至 2012 年 12 月的最新版本)

当我在 IE 9 中查看它时,即使打开了兼容性视图,它看起来也不正确。

带有菜单的蓝色条看起来太粗了

链接在这里。 http://www.kyaniworld.biz/products/sunrise/

4

1 回答 1

2

答案很简单!您可以通过创建css仅定位 IE 来找到解决方案。所以这里有一个有用的链接。您不必担心为用户添加的下载数据。css仅当从 IE 浏览器打开站点时,才会下载针对 IE的文件。希望我有所帮助!

PS:提示:您应该在所有 IE 版本中验证您的网站(我降到 IE 7)。每个版本都有它自己的错误和问题。

[编辑] 刚刚遇到这个。我所有问题的答案:“css”重置:

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
width: auto;
height: auto;
margin: 0;
padding: 0;
border: 0;
outline: 0;
background: transparent;
}
于 2012-12-12T16:37:20.607 回答