Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Scroll Menu

  1. #1
    New Coder
    Join Date
    Jun 2012
    Posts
    57
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Exclamation Scroll Menu

    Hi, if I want to make a div compressed into a certain space using a scroll bar, how can I do that? What elements should I use?
    Please help

  • #2
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    Are we talking two issues? A specific sized div for one and scroll bars on a div for another?

    HTML
    <div id="sized">...</div>

    CSS
    #sized {
    width:100px;
    height:100px;
    }

    and for 2),

    CSS
    #sized {
    width: 100px;
    height: 100px;
    overflow: scroll;
    }
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls

  • Users who have thanked jerry62704 for this post:

    zingzing45 (03-28-2013)

  • #3
    New Coder
    Join Date
    Jun 2012
    Posts
    57
    Thanks
    13
    Thanked 0 Times in 0 Posts
    Thanks, all I needed was a reminder of the 'overflow' option. My div is working properly now.


  •  

    Tags for this Thread

    Posting Permissions

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