How do I hide scrollbars in Firefox?

How can I hide the scrollbars of gadgets in Firefox
I've tried adding overflow:hidden to the css, but it doesn't do a thing.


Answer this question

How do I hide scrollbars in Firefox?

  • Klgsx

    wwwDean wrote:
    Hi Todd. Sorry, I don't understand your explanation. Netvibes and Google both allow third party modules that display in iFrames that look great in in FireFox without scrollbars. how are they able to do this and Live.com cannot

    That seems like new behavior for the Google/ig, as they didn't used to segregate first-party from third-party content. How do they do it I don't know. My information was from what the Live.com people have publicly said about the scrollbars in Firefox. Perhaps they were wrong and there's another way to do it I don't know. One interesting question would be whether or not Google and Netvibes allow content inside a module to dynamically resize. Web gadgets can do so, but if Google widgets can't that would explain how they got the iframes to work without scrollbars (no need to watch for resize events).


  • LutherW

    I hope this gets resolved soon, because it looks horrible.

  • Jens-Christian Larsen

    Hi Todd. Sorry, I don't understand your explanation. Netvibes and Google both allow third party modules that display in iFrames that look great in in FireFox without scrollbars. how are they able to do this and Live.com cannot

  • yanivpinhas

    You can't. The scrollbars are at the iframe level that embeds your gadget and are not under the control of your gadget code at all.

    The scrollbars are there by design, as Firefox's iframe implementation doesn't allow the embedding page enough control to determine when the content inside changes sizes and thus be able to resize the iframe correctly. The live.com guys know about this, and the scrollbars are there to allow you to at least be able to see all of a gadget by scrolling until they can find a work around (assuming that's even possible).


  • toniSQL

    abowman wrote:
    I hope this gets resolved soon, because it looks horrible.

    I wouldn't rely on it, since this behavior has been in place for more than a year (since live.com switched to iframed gadgets in late-November or early-December 2005). The best way to work around it is to make sure that your gadgets don't exceed the default size of the iframe. It's okay for them to be smaller, but larger causes scrolling. It's not a perfect solution, since the disabled scrollbars will still exist, but it's better than not supporting Firefox at all.


  • How do I hide scrollbars in Firefox?