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

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.
pmsguyAsked:
Who is Participating?
 
RoonaanConnect With a Mentor Commented:
<select style="width:100px;">
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.