File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to fix width in dropdown box in html
Joined: Jan 15, 2008
Oct 02, 2008 13:55:00
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
Joined: Jun 23, 2005
Oct 02, 2008 14:06:00
You can use the CSS width property for that.
I agree. Here's the link:
subject: how to fix width in dropdown box in html
Readonly fields...setting dynamically
How to fix dropdown width
Display error when record not found
Create a box
validate a ajax dropdown
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015