3 Replies Latest reply on Jul 24, 2008 3:06 PM by Newsgroup_User

    The 'overflow' property...

    Level 7
      Any way to tell the browser to display a vertical scrollbar on a div with
      overflow, but never an horizontal one?


        • 1. Re: The 'overflow' property...
          Level 7
          .oO(mjs)

          >Any way to tell the browser to display a vertical scrollbar on a div with
          >overflow, but never an horizontal one?

          overflow-y

          It's CSS 3, so browser support is limited, but should be good enough
          (test it). The most modern browsers like Opera and Firefox support it.
          IE 6 and above should work as well, because IE already supported this
          property as a proprietary extension before it became part of CSS 3.

          Micha
          • 2. Re: The 'overflow' property...
            Level 7
            "Michael Fesser" <netizen@gmx.de> wrote in message
            news:3fih849n3kkih3bs2g79cio55scs8brr74@4ax.com...
            > .oO(mjs)
            >
            >>Any way to tell the browser to display a vertical scrollbar on a div with
            >>overflow, but never an horizontal one?
            >
            > overflow-y
            >
            > It's CSS 3, so browser support is limited, but should be good enough
            > (test it). The most modern browsers like Opera and Firefox support it.
            > IE 6 and above should work as well, because IE already supported this
            > property as a proprietary extension before it became part of CSS 3.

            Seems to work all-around. Thanks, Mike.


            • 3. Re: The 'overflow' property...
              Level 7
              .oO(mjs)

              >"Michael Fesser" <netizen@gmx.de> wrote in message
              >news:3fih849n3kkih3bs2g79cio55scs8brr74@4ax.com...
              >> .oO(mjs)
              >>
              >>>Any way to tell the browser to display a vertical scrollbar on a div with
              >>>overflow, but never an horizontal one?
              >>
              >> overflow-y
              >>
              >> It's CSS 3, so browser support is limited, but should be good enough
              >> (test it). The most modern browsers like Opera and Firefox support it.
              >> IE 6 and above should work as well, because IE already supported this
              >> property as a proprietary extension before it became part of CSS 3.
              >
              >Seems to work all-around. Thanks, Mike.

              You're welcome.

              Micha