DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Combo Box Length

  1. #1
    Sauce Guest

    Combo Box Length


    I have multiple combo boxes on my servlet, and would like them to be displayed
    all with the same legnth. Is there a way to set the default length of an
    html combo box?

  2. #2
    h Guest

    Re: Combo Box Length


    apperently not


  3. #3
    Chris Guest

    Re: Combo Box Length


    "Sauce" <rossmajd@yahoo.com> wrote:
    >
    >I have multiple combo boxes on my servlet, and would like them to be displayed
    >all with the same legnth. Is there a way to set the default length of an
    >html combo box?



  4. #4
    Chris Guest

    Re: Combo Box Length


    your page must use a cascading style sheet
    and then you can set the width property like so:

    <select NAME="combo" STYLE="width: 250px">
    <option>this
    <option>that
    <option>the other
    </select



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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center