scrolling bar with overflow: auto

Discussion in 'Web Design and Development' started by macsig, Jun 11, 2008.

  1. macsig macrumors regular

    Joined:
    Oct 27, 2006
    Location:
    Marina del Rey, CA
    #1
    Hello, is it possible to have only the vertical scrolling bar where using overflow: auto ?

    Thanks
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    Try
    Code:
    overflow-x: auto;
    overflow-y: scroll;
     
  3. macsig thread starter macrumors regular

    Joined:
    Oct 27, 2006
    Location:
    Marina del Rey, CA
    #3
    Thanks buddy, I didn't know you could specify x and y

    Code:
    overflow-x: hidden;
    overflow-y: auto;

    is the answer
     

Share This Page