Thread: css: jump menu

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Location
    philippines
    Posts
    52
    Rep Power
    14

    Smile css: list/menu


    how to set the height and width of the list/menu in css? can someone give a code....thnx.
    Last edited by reuben_roa; December 2nd, 2003 at 09:08 PM.
  2. #2
  3. Super Moderator
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Location
    London, UK
    Posts
    4,004
    Rep Power
    2794
    What is the "jump menu"?
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Location
    philippines
    Posts
    52
    Rep Power
    14
    list/menu not jump menu.. sorry..
  6. #4
  7. Super Moderator
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Location
    London, UK
    Posts
    4,004
    Rep Power
    2794
    A drop-down/select menu?

    Code:
    <select style="width:300px;"></select>
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Location
    philippines
    Posts
    52
    Rep Power
    14
    a drop-down menu... what about the height?
  10. #6
  11. Thanks Johnny Hart (BC) R.I.P.

    Join Date
    May 2003
    Location
    Dallas
    Posts
    5,262
    Rep Power
    1959
    The height will adjust as needed.

    cheers,

    gary
    There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

    My html and css workshop, demos and tutorials.
    Ask a better question, get a better answer.
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Location
    philippines
    Posts
    52
    Rep Power
    14
    what do you mean by that kk5st?
    i have a drop down menu of months (January to December ) and when the user select it, all the list will be displayed without a scrollbar...
  14. #8
  15. Super Moderator
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Location
    London, UK
    Posts
    4,004
    Rep Power
    2794
    <select multiple></select>
  16. #9
  17. Cunning Linguist
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2003
    Location
    I used to live at home, now I stay at the house
    Posts
    10,162
    Rep Power
    2042
    try...
    Code:
    <select size="12">
    <option value="1">January
    <option value="2">February
    <option value="3">March
    <option value="4">April
    <option value="5">May
    <option value="6">June
    <option value="7">July
    <option value="8">August
    <option value="9">September
    <option value="10">October
    <option value="11">November
    <option value="12">December
    </select>
  18. #10
  19. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Location
    philippines
    Posts
    52
    Rep Power
    14
    i mean that when the user click the arrow to select, the menu drops without a scrollbar... my code displays only 11 lines...
  20. #11
  21. Super Moderator
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Location
    London, UK
    Posts
    4,004
    Rep Power
    2794
    I don't think you can do that.

IMN logo majestic logo threadwatch logo seochat tools logo