?
Solved

HTML Select - define the width of user input - simulate maxlength

Posted on 2008-06-16
1
Medium Priority
?
1,624 Views
Last Modified: 2008-06-16
How do I define the width of an HTML SELECT.
I want to simulate MAXLENGTH.
For example, I want the width of the select dropdown to be 20 chars in length.
0
Comment
Question by:pmsguy
1 Comment
 
LVL 49

Accepted Solution

by:
Roonaan earned 2000 total points
ID: 21792976
<select style="width:100px;">
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question