3 Replies Latest reply: Jun 9, 2010 12:59 PM by Nancy O. RSS

    Jump Menu

    Hoppie Community Member

      I want to be able to set a width for my jump menus to a width of 200px as an example so they are all the same size.

       

      Thanks for the help

      Joe

        • 1. Re: Jump Menu
          Richard_vav Community Member

          Using css you can set the width of an element, it would help if we could see the code, so we can say exactly how to do it.

           

          Richard

          • 2. Re: Jump Menu
            Hoppie Community Member

            Thanks sometimes we miss the obvious.

             

            Thanks

            • 3. Re: Jump Menu
              Nancy O. CommunityMVP

              Jump menu width is content driven. It will assume the required width needed to accommodate the longest string of text inside it.   If you increase text size in browser, the jump menu will resize accordingly.

               

              CSS:

              #menu1 {

              width: 200px;

              }

               

               

              <form name="form1" id="form1">
              <select name="menu1" id="menu1">
              <option selected="selected">--Products--</option>
              <option value="#">DVDs</option>
              <option value="#">Books</option>
              <option value="#">T-shirts</option>
              <option value="#">Memorabilia</option>
              </select>
              <input type="button" name="Button1" id="Button1" value="Go" />
              </form>

              Nancy O.
              Alt-Web Design & Publishing
              Web | Graphics | Print | Media  Specialists
              http://alt-web.com/
              http://twitter.com/altweb
              http://alt-web.blogspot.com