Only from the browser itself, I did it once on IE using DHTML but I forget
the syntax, and it's of course browser-specific. As a hack, I suppose you
could make one "dummy" option that's longer than the longest string you
expect to stuff in there. That would determine the new "default" size, since
I think HTML goes by the length of the longest option in the list to render
the list.
Jeff Sahol
[EMAIL PROTECTED]
> Can any one of you tell me how to set the width of the list item.
>
> <Select Name="">
> <option value=.....>
> </Select>
>
> Is there any way to specify the width for the list item, in my case it is
> dynamically changing depending on the strings in the options given in the
> tag.
>
> I want it be static, I don't want it to change dynamically as it is
> disturbing my interface.
>
> expecting an early reply/
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets