1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

How to creat a scrollbar??

Discussion in 'JavaScript and AJAX' started by Talks_44, Sep 19, 2007.

  1. Talks_44

    Talks_44 New Member

    i m about designing my personal page and i'd like to know if there's anyway i can create a scrollbar between a <div> tag using CSS??

    is there anyway i can use only arrows?? (transparent scroll only arrows that shows)

    thank you
     
  2. jwshepherd

    jwshepherd New Member

    not sure about transparent scrollbar but you can make it the same color as the background or create a flash one.
     
  3. shabbir

    shabbir Administrator Staff Member

    If you specify the div height and if your content in the div is of more height than the specified height there will be a scrollbar automatically.
     
  4. Talks_44

    Talks_44 New Member

    I am interested in that kind of scroolbar, like in winamp, when you have the chance to chage the backgraound in transparent.!!!!!!!!!!!!
     
  5. Talks_44

    Talks_44 New Member

    So it's possible..thx..!!
     
  6. shabbir

    shabbir Administrator Staff Member

    Yes very much. Check out some of the articles where you have code snippets of more than 30-35 lines like in Form validation with PHP & JavaScript
     
  7. Magena

    Magena Banned

    You can use CSS to create a scrollable box. Consider this source code:

    <div style="width: 190px; height: 190px; overflow: auto; padding: 5px">
    content in here
    </div>
     

Share This Page