can we customize scrollbars width ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joe Abou Jaoude

    can we customize scrollbars width ?



    HI all,
    I' ve read that with IE 5.5 and later, scollbars' colors can be
    customized. I was wondering if we can also change scrollbars width,
    because they appear too large and ugly on small div tags.

    regards


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • michael elias

    #2
    Re: can we customize scrollbars width ?

    You can't change the width of the scrollbars. What you can do is make a
    DHTML scrollbar that handles the scrolling inside a div tag. You can
    set the overflow of the div to 'hidden' and check the offsetWidth or
    offsetHeight property to check if the div's content is overflowing the
    viewport's space. You'll also have to handle the onscroll event of the
    div tag to update the DHTML scrollbar and vice versa.

    Comment

    Working...