
SAFARI 5.1.10 ANDROID
Then, I opened the site on multiple devices (both iOS and Android – including a Galaxy Note using the default browser) without any trouble. Though this element does not appear in the latest revision.I recreated a demo version of your site to test this using the Photolia theme. In an HTML5 specification draft, the seamless attribute was defined to prevent scroll-bars from appearing in iFrames so that they could be blended with surrounding content on a page.
10 Inventions on Scrolling and Scrollbars. Just because I'm curious, I wanted to learn about the origin of scrollbars, and these are the best references I found. Last but not least, padding is like magic.Īs has been previously mentioned in some other answers, here is an illustration which is sufficiently self-explanatory. This attribute is "replaceable" in JavaScript.
Description: The object that controls whether or not scrollbars are shown in the window. This is not really useful as far as I know, but it's worth noting that the attribute which controls whether or not scrollbars are displayed in Firefox is ( reference link): Disables scrolling XML root elements and disables using arrow keys and mouse wheel to scroll web pages. moz-hidden-unscrollable Only works internally within a users profile settings. -moz-scrollbars-vertical Similar to overflow-y. -moz-scrollbars-horizontal Similar to overflow-x. -moz-scrollbars-none They recommend using overflow:hidden in place of this. Mozilla does have some extensions for manipulating the scroll-bars, but they are all recommended not to be used. Public static HandlerRegistration addWindowScrollHandler(Window.ScrollHandler handler) In Internet Explorer you find it under the "Accessibility" tab, in Konqueror under the "Stylesheets" tab. These can also be set locally in the user style sheet for each application. *These properties were never part of the CSS specification, nor were they ever approved or vendor prefixed, but they work in Internet Explorer and Konqueror. įor the sake of being thorough all the vendor specific ways of manipulating scroll-bars: Internet Explorer 5.5+ Thereby creating our own scrolling without the browsers default scrolling or use a plugin like iScroll. and instead move the content up using JavaScript when this occurs. Detect when the user attempts to scroll, but is unable to because we've disabled the browsers ability to scroll with overflow: hidden. Rather than try to remove scrollbars (which we all know is not possible) we can avoid scrolling (perfectly feasible) and scroll within the elements that we make and have more control over.Ĭreate a div with overflow hidden. This just means that we have to proactively substitute the same behavior that the browser would typically do for us and tell the browser thanks but no thanks buddy. However, it is possible to prevent the browser from ever having the need to generate and display scrollbars if you do not allow your webpage to overflow. When you ask the question, "Can the scroll-bars of a browser be removed in some way, rather than simply hidden or camouflaged", everyone will say "Not possible" because it is not possible to remove the scrollbars from all browsers in a compliant and cross-compatible way, and then there's the whole argument of usability. (Note that this is not really a correct answer to the question, because it hides the horizontal bars as well, but that's what I was looking for when Google pointed me here, so I figured I'd post it anyway.) Duis elementum magna vel velit elementum, ut scelerisque Phasellus vehicula porttitor nulla et dictum. Sed imperdiet, nunc ut porta elementum,Įros mi egestas nibh, facilisis rutrum sapien dolor quis justo. Vivamus vulputate enim felis, a euismod diam elementum
Duis placerat suscipit eros, eu tempor tellusįacilisis a. Sed imperdiet justo sit amet venenatisĮgestas. Fusce non arcu vel ligulaįermentum sodales a quis sapien. Urna et leo aliquet malesuada ut ac dolor. Lorem ipsum dolor sit amet, consectetur adipiscing elit. * These rules create an artificially confined space, so we getĪ scrollbar that we can hide.