Disable Vertical Scroll Bars

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Rwj Cherry CS2000

    Disable Vertical Scroll Bars

    is there any way to disable or lock vertical scroll bars on a browser
    window? im a newbie and i just don't want them to appear on my screen.
    sometimes they appear on IE but not on mozilla.

    any ideas would be most appreciated.

  • kaeli

    #2
    Re: Disable Vertical Scroll Bars

    In article <4030d47a$1@nnt phost.cis.strat h.ac.uk>,
    dcherry+usenet@ cis.strath.ac.u k enlightened us with...[color=blue]
    > is there any way to disable or lock vertical scroll bars on a browser
    > window? im a newbie and i just don't want them to appear on my screen.
    > sometimes they appear on IE but not on mozilla.
    >
    > any ideas would be most appreciated.
    >
    >[/color]

    Is this for a site other people are going to look at?
    If so, they might want to increase the font size so they can read it.
    Making the scroll bars go away is a Bad Thing (tm) for accessibility
    reasons. Some people don't have good eyesight and may need to increase
    the font size to as large as it goes. This usually makes any "normal"
    page have to scroll.

    As to removing them from an open window, no. You can open a new window
    with no scrollbars, but (see above) it's a Bad Idea (tm) for internet
    sites.

    If you meant you want your own personal browser to not show scollbars on
    any page, I don't think you can do that. You could make a custom HTA
    that didn't have them, in theory.

    --
    --
    ~kaeli~
    I do whatever my Rice Krispies tell me to.



    Comment

    • Grant Wagner

      #3
      Re: Disable Vertical Scroll Bars

      kaeli wrote:
      [color=blue]
      > In article <4030d47a$1@nnt phost.cis.strat h.ac.uk>,
      > dcherry+usenet@ cis.strath.ac.u k enlightened us with...[color=green]
      > > is there any way to disable or lock vertical scroll bars on a browser
      > > window? im a newbie and i just don't want them to appear on my screen.
      > > sometimes they appear on IE but not on mozilla.
      > >
      > > any ideas would be most appreciated.[/color]
      >
      >
      > If you meant you want your own personal browser to not show scollbars on
      > any page, I don't think you can do that. You could make a custom HTA
      > that didn't have them, in theory.[/color]

      Actually, it is possible to control things like scrollbars in your own
      browser. Create a css file with something like:

      body { overflow-x: hidden ! important; }

      Then in Internet Explorer, go to Tools -> Internet Options,
      Accessibility.. ., check "Format documents using my style sheet", then
      Browse... and specify the css file created above. You will never get a
      horizontal scrollbar on any Web page again.

      And although I don't think Firefox exposes the functionality directly
      (although it may in some Extension or other), you can achieve the same
      effect in Firefox by editing <Firefox directory>/res/html.css and adding

      body { overflow: -moz-scrollbars-vertical ! important; }

      Although it doesn't appear to do what I think it should be doing, however it
      does suppress horizontal scrollbars (in addition to doing odd things to the
      vertical one). Also note that the res directory contains other css files
      such as forms.css, which contains default CSS for all form elements. For
      example, if you always want text inputs on forms to have a single pixel
      black border, you can change:

      input {
      ...
      border: 2px inset ThreeDFace;
      ...
      }

      to

      input {
      ...
      border: 1px solid Black ! important;
      ...
      }

      By the way, I'm not recommending this, you could probably make a huge mess
      of Mozilla/Firefox, in addition to possibly violating some copyrights I
      didn't read very carefully.

      Also, the procedures outlined above are precisely why you shouldn't rely on
      your Web page rendering the same on anyone's computer other then your own.

      --
      | Grant Wagner <gwagner@agrico reunited.com>

      * Client-side Javascript and Netscape 4 DOM Reference available at:
      *


      * Internet Explorer DOM Reference available at:
      *
      Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.


      * Netscape 6/7 DOM Reference available at:
      * http://www.mozilla.org/docs/dom/domref/
      * Tips for upgrading JavaScript for Netscape 7 / Mozilla
      * http://www.mozilla.org/docs/web-deve...upgrade_2.html


      Comment

      • Thomas 'PointedEars' Lahn

        #4
        Re: Disable Vertical Scroll Bars

        Grant Wagner wrote:
        [color=blue]
        > [...]
        > And although I don't think Firefox exposes the functionality directly
        > (although it may in some Extension or other), you can achieve the same
        > effect in Firefox by editing <Firefox directory>/res/html.css and adding
        >
        > body { overflow: -moz-scrollbars-vertical ! important; }
        >
        > [...]
        > By the way, I'm not recommending this, you could probably make a huge mess
        > of Mozilla/Firefox, in addition to possibly violating some copyrights I
        > didn't read very carefully.[/color]

        That's why there is the possibility for
        <profile_direct ory>/chrome/userContent.css
        and the like.


        PointedEars

        Comment

        Working...