简体   繁体   English

Wordpress网站上的IE问题

[英]IE problems on Wordpress site

Having a huge problem with my Wordpress site displaying incorrectly only in IE.我的 Wordpress 站点存在一个大问题,仅在 IE 中显示不正确。 The whole site should be centered in the middle of the page but in IE it floats left.整个站点应该居中在页面的中间,但在 IE 中它是向左浮动的。 Also my nav options (on the sidebar once hovered over) have to much space in between them.此外,我的导航选项(在侧边栏上曾经悬停过)在它们之间有很大的空间。 Lastly if you click on one of the nav options it will take you to a page containing a slide deck, that in IE is way to tall.最后,如果您单击其中一个导航选项,它将带您进入包含幻灯片的页面,这在 IE 中太高了。 I've been googling this for the past few hours trying to fix it.在过去的几个小时里,我一直在谷歌上搜索它,试图修复它。 I know my page doesn't validate fully, but I can't find a good way to find and fix the errors since the each page is generated from wordpress and there are many different parts to each page.我知道我的页面没有完全验证,但我找不到找到和修复错误的好方法,因为每个页面都是从 wordpress 生成的,并且每个页面都有许多不同的部分。 I'm about to go crazy, let me know if you can help.我快要疯了 go,如果你能帮忙,请告诉我。 Thanks in advance.提前致谢。

http://www.buildingthemiddleclass.org http://www.buildingthemiddleclass.org

Look at your page code;查看您的页面代码; you have this你有这个

<style type="text/css">
#headimg {
height: HEADER_IMAGE_HEIGHTpx;
width: HEADER_IMAGE_WIDTHpx;
}
#headimg h1, #headimg #desc {
display: none;
}
</style>

above the Doctype in header.php.在 header.php 中的 Doctype 上方。 Anything above the Doctype whacks IE. Doctype 之上的任何东西都会影响 IE。 Fix that.解决这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM