Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to fix width in dropdown box in html

 
Rajesh Veluchamy
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
using size in <select> </select> we increase the height. but i want to fix the width. Is that possible ?

my code is






i want a fixed width say 100 or 200, is there any option
 
Satish Chilukuri
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the CSS width property for that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic