dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: HTML list/menu width

  1. #1
    Join Date
    Jun 2005
    Location
    Melbourne Australia
    Posts
    56

    HTML list/menu width

    Hello Does anyone know if you can set the width of a list/menu box.

    My list box has to fit into a particular width is there anyway that menu item can be dropped down into a second row?

    any help much appreciated.

  2. #2
    Join Date
    Jul 2004
    Location
    Sendai, Japan
    Posts
    1,273
    Use css... 'width:whateverpx;'.

  3. #3
    Join Date
    May 2005
    Posts
    24
    Setting the width using CSS doesnt work. Sorry, I didnt see this post, I just posted the same question as you. I think you are asking the same thing I am. You have the List set to a particluar wide, that you can do with CSS. But the problem is when you have a List Item that exceeds the set width. The width of the List automatically gets stretched to accomadate the list item. Can the list item be forced to wrap?

    JRoC

  4. #4
    Join Date
    Jul 2005
    Location
    USA
    Posts
    3,910
    You mean an <option>? No option elements can not wrap.

    <select> Something New, Part 1

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles