Print Reseller Scheme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Force Scroll Bar Display in IE

Discussion in 'Website Coding & Programming Forum:' started by Stationery Direct, Jan 27, 2009.

  1. Stationery Direct

    Stationery Direct Administrator Staff Member

    Anybody got any idea if it is possible for my website to force IE to display the right handside scroll bar at all times, even on pages that are short and don't require it?

    I am working on a website that has some really long pages and some very short pages (due to textual content), when I navigate between these pages transition isn't smooth because on some pages the scroll bar isn't there and on others it is...shifting the site about a cm left/right each time.

    Any ideas?
  2. Xenonsoft

    Xenonsoft Active Member

    Hey Damon,

    If you put this in your css file you will force all browsers to display a vertical scroll bar.

    		overflow-y: scroll;
    I just ran the code through the validator and it says its not valid in CSS level 2.1 but is valid in CSS3.

    Hope this helps.
  3. Stationery Direct

    Stationery Direct Administrator Staff Member

    Works a treat Fred, many thanks :icon_thumbup:

Share This Page