Results 1 to 1 of 1
06-10-2004, 06:43 AM #1
Need the sample DHTML dropdown code
I need a dropdown with a fixed width e.g. 10px and when i opens the dropdown box the list below will adjust according to the option values and will not extend the box itself.
Here is what i want to do:
<select name="lstBox" style="width:10px">
<option value="1">Large Option Value 1 (One)</option>
<option value="2">Large Option Value 2 (One)</option>
<option value="3">Large Option Value 3 (One)</option>
now as u noticed the value is list box are large but the width is fixed. Now when i clicks the dropdown the values gets cut down dependign upon the mentioned with. I need the list to show full values but don't want to increase the list width itself
If anyone can help me in this lz do send me email in "firstname.lastname@example.org"