26 users online (1 members and 25 guests)  


  Results 1 to 5 of 5

Related

  1. Horizontal scroll bar fix    Forum: CSS Forum
    Replies: 0
  2. Horizontal scroll bar fix    Forum: HTML Forum
    Replies: 0
  3. Horizontal Scrollbars    Forum: CSS Forum
    Replies: 5
  4. Horizontal scroll bar in select list advice.    Forum: Javascript Forum
    Replies: 3
  5. horizontal scrolls only?    Forum: HTML Forum
    Replies: 0
  1. #1
    man_on_search's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2007
    Posts
    4

    Question Horizontal Scrollbar in List

    Can any one help me to have a horizontal scrollbar in Listbox used in a HTML form.
    Thanks in Advance

  2. #2
    vinyl-junkie's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    721

    Re: Horizontal Scrollbar in List

    To have a horizontal scrollbar on any HTML element, set width and height attributes. For example:

    Code:
    .codebox-auto {
    	width: 65%;
    	height: auto;
    }
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more

  3. #3
    man_on_search's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2007
    Posts
    4

    Question Re: Horizontal Scrollbar in List

    Quote Originally Posted by vinyl-junkie View Post
    To have a horizontal scrollbar on any HTML element, set width and height attributes. For example:

    Code:
    .codebox-auto {
        width: 65%;
        height: auto;
    }
    please help me , how can i include the above in my code.

  4. #4
    vinyl-junkie's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    721

    Re: Horizontal Scrollbar in List

    You'll add this CSS class as an attribute to your to your listbox. For example:

    Code:
    <listbox class="codebox-auto">
    The other code that I gave you will go into your stylesheet. For a more complete understanding of CSS, I suggest you read the tutorial here.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more

  5. #5
    man_on_search's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2007
    Posts
    4

    Thumbs up Re: Horizontal Scrollbar in List

    Thanks.



Tags for this Thread