Short answer:
element.setWidth(20);

Better answer:
The width of pull down menus on must browsers defaults to the width of the
longest option in the list.  For more imformation on the behaviour of the
'Select' element, please visit www.w3.org and consult the HTML specs.  Once
you have found the the attribute you need, use it with the
setAttributeName() method that exists for almost every attribute.

-----Original Message-----
From: Paul.Sweeney
Subject: Pull down menu

Is there anyway to set the width of a select object. 


--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to