开发者

IE7 background issue

Currently having this really odd problem with my layout IE7. I'm not very experienced at handling IE7's bugs, so I'm hoping someone here can help me out.

If you look quickly soon after the page has loaded in IE7, the background isn't covering the whole content. 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. I've also tried using "overflow: auto" instead, but no luck.

Can anyone help me out? Check out the site he开发者_如何学运维re:

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

Some of the scripts:

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

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

The issues appear to be concerning #body, #page, #content, #bottom-sidebar, etc.

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.

There might be a better way.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜