Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html, body { height :100% } #10

Open
Lighty46 opened this issue Nov 13, 2014 · 2 comments
Open

html, body { height :100% } #10

Lighty46 opened this issue Nov 13, 2014 · 2 comments

Comments

@Lighty46
Copy link

Hi, I am trying to use this on a site that uses full screen images, to do that I am setting the html and body tags to 100% height. On chrome the scrolling is perfect (well ... almost, it cuts off a little bit of the site at the bottom) but in IE and Firefox I cant scroll at all.

I noticed putting "overflow: auto" onto the html and body tags fixed the issue in IE (and maybe firefox) but broke chrome.

Example - http://jsfiddle.net/h4anwqcL/

Any ideas?

@Lighty46
Copy link
Author

I found a solution - I used one of the forks which allows use of the window as the target selector, meaning I wouldn't have to use the body tag (which had height 100%). The fork I used was https://github.com/graphical-iain/jquery.smoothwheel ... in case anyone was interested.

@adrianpuescu
Copy link

Don't get it. What fork?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants