Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
width of List box in struts
Akshay Jindal
Greenhorn
Posts: 3
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I am using the "select" type in
struts
to create a list box. How can i asign a width so that it will not colapse if there are no entries in it?
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Moving to the Struts forum.
bear
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Marc Haberkorn
Greenhorn
Posts: 10
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Have you tried using a stylesheet, and specifying the class to be used via the "class" attribute on the select tag?
Akshay Jindal
Greenhorn
Posts: 3
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Marc,
Thanks for the immdeiate response.
No i havent tried it.
Was just trying something in the front end itself.
Is there any way of doing it in the
JSP
?
Or do we need a stylesheet for this requirement?
Regards
Akshay Jindal
Akshay Jindal
Greenhorn
Posts: 3
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi ,
Used
style="width:300;"
in the list box and it works!
Akshay Jindal
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How do i disable scrollbars in List?
drawdown select box in strruts
dynamic row generation in struts ?
onMouseOver in cobmobox
select all in list box
More...