A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Engineering
»
HTML, CSS and JavaScript
Author
how to fix width in dropdown box in html
Rajesh Veluchamy
Ranch Hand
Joined: Jan 15, 2008
Posts: 47
posted
Oct 02, 2008 13:55:00
0
using size in <select> </select> we increase the height. but i want to fix the width. Is that possible ?
my code is
<select> <option value ="Please Select">Please Select</option> <option value ="Bill not paid">Bill not paid</option> <option value ="ChequeBounce">ChequeBounce</option> <option value ="Credit limit/credit card problem">Credit limit/credit card problem</option> <option value ="Customer requested inactivation">Customer requested inactivation</option> </select>
i want a fixed width say 100 or 200, is there any option
-Rajesh.V<br /> Software Consultant
Satish Chilukuri
Ranch Hand
Joined: Jun 23, 2005
Posts: 266
posted
Oct 02, 2008 14:06:00
0
You can use the CSS width property for that.
I agree. Here's the link:
http://aspose.com/file-tools
subject: how to fix width in dropdown box in html
Similar Threads
Create a box
How to fix dropdown width
validate a ajax dropdown
Display error when record not found
Readonly fields...setting dynamically
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter