Code Snippet
Prevent Bounce Scroll in Lion
Just make sure you zero out the margin and padding on those elements as well (normal in any reset or normalization).
html, body {
height: 100%;
overflow: hidden;
}
Just make sure you zero out the margin and padding on those elements as well (normal in any reset or normalization).
html, body {
height: 100%;
overflow: hidden;
}
As a Lion user, please don’t do that on your website. Don’t take out my bouncing fun..
I agree, I like bouncy scrolling. If it’s all the same to you, leave it.
What? no get rid of it. At what point did the user need some stupid extraneous bouncing to let you know you were at the bottom of a page? surely the fact that it has stopped scrolling is enough.
I’m sorry, but this code hides whatever is outside of the base visible rectangle. In other words, this code prevents scrolling all together…
And I agree, bounce scroll is hideous, and really useless. I would love to disable it as an iPad user…
DigWP
A book and blog co-authored by Jeff Starr and myself about the World's most popular publishing platform.
Quotes on Design
Design, like Art, can be an elusive word to define and an awfully fun thing to have opinions about.
HTML-Ipsum
One-click copy to clipboard access to Lorem Ipsum text that comes wrapped in a variety of HTML.
Bookshelf
Hey Chris, what books do you recommend? These, young fertile mind, these.