IE FF Chrome的高度不同 [英] Height different in IE FF Chrome
问题描述
下载: http://www.sushitaksteeg.nl/secret/Port.rar
如果按下滚动页面按钮,页面会在FF中完美滚动,但不会在Chrome和IE中滚动。
我通过设置styles.css中的下一个属性来完成此操作: b
$ b
< - #footer {height:870px;} - >
再次搜索google和stackoverflow,并尝试CSS重置,但无法正常工作。
有人任何想法?
编辑
Mike用parent.scroll帮助我),现在比较好,但是我仍然可以在FF中的页眉和页脚之间看到一条白线和Chrome浏览器,IE现在显示它很好。
更多的帮助表示感谢,谢谢。
解决方案我看到你的JavaScript正在使用window.scrollBy()。在Chrome / IE中,滚动可以使用parent.scroll()完成。
Good day, after struggling with a problem at my previous post, i entered another problem caused by different heights in web crossing.
Example: http://www.sushitaksteeg.nl/secret/template.html
Download: http://www.sushitaksteeg.nl/secret/Port.rar
If you press on the scroll page button, the page scrolls perfectly in FF but not in Chrome and IE.
I did this by setting the next property in styles.css:
<-- #footer{height:870px;} -->
Again i have searched google and stackoverflow, and tried CSS reset, but didn't work..
Someone any ideas?
EDIT
Mike helped me out with parent.scroll(), it's better now but still I can see a white line between the header and footer in FF and Chrome, IE is showing it good now.
Any more help is appreciated, thank you.
I see your JavaScript is using window.scrollBy(). In Chrome/IE, scrolling can be done with parent.scroll().
这篇关于IE FF Chrome的高度不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!