towser
04-14-2005, 03:21 AM
Does anyone know if it's possible to set a max-width for a select/drop down list ?
I know you can set the width to a certain number of pixels. But in this case I'm dynamically building the drop down list and I don't want to do this, as I still want to make use of the normal default width of the longest option text.
So I'm happy to use the normal default width unless it happens to be wider than say 300 pixels.
Cheers
Towser
I know you can set the width to a certain number of pixels. But in this case I'm dynamically building the drop down list and I don't want to do this, as I still want to make use of the normal default width of the longest option text.
So I'm happy to use the normal default width unless it happens to be wider than say 300 pixels.
Cheers
Towser