Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Posts
    197
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question about "overflow"

    When overflow is set to "scroll" both horizontal and vertical scrollbars are visible. Is there a way to keep the vertical scrollbar but to get rid of the horizontal one?

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    Use overflow-x:none

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Posts
    197
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This is FAST!

    Thanks

  • #4
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by kippie
    This is FAST!

    Thanks
    Next time, perhaps you'll wait longer than two minutes for an answer
    before you cross-post your question here.

    .....Willy

  • #5
    New Coder
    Join Date
    Dec 2003
    Location
    California
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts
    overflow-x is an IE only property, so be aware that it'll only apply to those who use IE.

    // freak

  • #6
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    freak is correct, this also goes for overflow-y so it is best to make your pages display correctly without resorting to 'cheap' methods ...
    Omnis mico antequam dominus Spookster!

  • #7
    New Coder
    Join Date
    Dec 2003
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What about when you don't want the vertical but do want the horizontal.

  • #8
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Make your page the correct height and a width greater than 100% ... It's the way it's supposed to be.

    Possibly the only use of overflow is scroll (overflow:scroll) ...
    Omnis mico antequam dominus Spookster!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •