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

Opera double scrollbar bug #183

Closed
eldair opened this issue Nov 6, 2010 · 6 comments
Closed

Opera double scrollbar bug #183

eldair opened this issue Nov 6, 2010 · 6 comments

Comments

@eldair
Copy link

eldair commented Nov 6, 2010

While leaving css rule:
html {overflow-y: scroll;}
it creates double scrollbar in opera 10.6 and 11 alpha, one that follows body tag and other that scrolls way down. When I set {overflow: auto;} it disappears.
Link is http://kkzapadnabacka.org (still work in progress)

@nimbupani
Copy link
Member

That is because you also have height: 100% set on the html element, which is why you get the double scrollbars. Perhaps a comment is of the order, on that CSS rule.

@eldair
Copy link
Author

eldair commented Nov 6, 2010

It might be that, html5boilerplate site also use overflow-y: scroll and when you put height: 100% there is no double scrollbar.

@nimbupani
Copy link
Member

Just realised that you have a height: 100% on the body as well (and an overflow-y: auto)! That is the cause of the issue. Nothing to do with boilerplate. I will revert my comment as well.

@eldair
Copy link
Author

eldair commented Nov 6, 2010

That wasn't an unsolvable issue at all, but it was strange that it only happens in opera.

@nimbupani
Copy link
Member

But only Opera interprets it according to the spec :)

"auto
The behavior of the ‘auto’ value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."

@eldair
Copy link
Author

eldair commented Nov 6, 2010

So opera is acting too good, lol Thanks for the insight, and sorry for putting this as an boilerplate issue (it really rocks).

This issue was closed.
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