Anyone know how to do this ?
I have a page with 3 SELECT form fields on it, all one above the other.
The OPTION elements for each field are populated from a database.
The width of each field automatically gets set to the width of the widest OPTION element.
What I'd like to do is write some JS that resizes the width of the fields to the width of the widest field so they all look neat and lined up - does this make sense ?
Any help with this would be very much appreciated.
Thanks
Nathan
I have a page with 3 SELECT form fields on it, all one above the other.
The OPTION elements for each field are populated from a database.
The width of each field automatically gets set to the width of the widest OPTION element.
What I'd like to do is write some JS that resizes the width of the fields to the width of the widest field so they all look neat and lined up - does this make sense ?
Any help with this would be very much appreciated.
Thanks
Nathan