Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to state the width of a <select> item? 3

Status
Not open for further replies.

AndyB21

Programmer
Dec 4, 2000
26
0
0
GB
I was wondering whether anybody had found a way of specifying the width of a <select> dropdown menu, other than by forcing it with a fake entry eg. &quot;select from list below&quot; option.

I have several select menus one below the other in a table and I want them all to be the same size. Does anybody know if this can be done through CSS?
 
Hi Andy,

Here is a solution for IE:

<SELECT style=&quot;width:400px&quot; name=&quot;selectboxname&quot;>

Hope this helps,

Erik
 
Cheers Erik - that's just the ticket!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top