简体   繁体   English

IE7后台问题

[英]IE7 background issue

Currently having this really odd problem with my layout IE7. 目前我的版面IE7确实有这个奇怪的问题。 I'm not very experienced at handling IE7's bugs, so I'm hoping someone here can help me out. 我在处理IE7的错误方面不是很有经验,所以我希望这里的人可以帮助我。

If you look quickly soon after the page has loaded in IE7, the background isn't covering the whole content. 如果您在将页面加载到IE7中后很快查看,则背景不会覆盖全部内容。 Sometimes it gets stuck at the top, most of the time it covers all the content except the footer. 有时,它卡在顶部,大多数时候它覆盖除页脚之外的所有内容。 Again, sometimes it decides to (after a few seconds) finally jump from not covering the footer to covering all the content like it should. 同样,有时它决定(几秒钟后)最终从不覆盖页脚跳到覆盖所有应有的内容。 As far as I'm aware, I've put the clearfix's where they should be. 据我所知,我已经将clearfix放置在应有的位置。 I've also tried using "overflow: auto" instead, but no luck. 我也尝试使用“ overflow:auto”代替,但是没有运气。

Can anyone help me out? 谁能帮我吗? Check out the site here: 在此处查看网站:

http://www.matthewruddy.com/demo/ http://www.matthewruddy.com/demo/

Some of the scripts: 一些脚本:

The source: http://pastebin.com/r6R2rdP6 来源: http//pastebin.com/r6R2rdP6

The CSS: http://pastebin.com/qtMa22xX CSS: http//pastebin.com/qtMa22xX

The issues appear to be concerning #body, #page, #content, #bottom-sidebar, etc. 问题似乎与#body,#page,#content,#bottom-sidebar等有关。

Thanks in advance to anyone that can help; 预先感谢任何可以提供帮助的人; Matthew. 马修。

Moving this: 移动此:

<!--[if IE]>
<script type="text/javascript" src="http://www.matthewruddy.com/demo/wp-content/themes/la-rivista/lib/scripts/jquery.border.min.js"></script>
<script type="text/javascript">
// IE rounded borders
DD_roundies.addRule('#body', '5px');
</script>
<![endif]-->

from inside your <head> tag to just before your closing body tag ( </body> ) sorts it out. <head>标记内部到结束body标记( </body> )进行排序之前。

There might be a better way. 可能有更好的方法。

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

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