SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Jan 2004
    Location
    www.zenfour.com
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    overflow : scroll;

    Hello, I was wondering if there was a way to set it, so when you have an element with

    overflow: scroll;

    Could this be used to scroll only vertically?

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,374
    Mentioned
    180 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    If you use overflow:auto instead you will get a scrollbar only when needed. If the vertical only needs the scrollbar then thats all you will get.

    Paul


Bookmarks

Posting Permissions

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