This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes html:file width Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:file width" Watch "html:file width" New topic
Author

html:file width

Shiaber Shaam
Ranch Hand

Joined: Jun 16, 2006
Posts: 252
How can i change the width of the html:file element? Please help.


$Hi/\bEr
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

CSS?
Shiaber Shaam
Ranch Hand

Joined: Jun 16, 2006
Posts: 252
how can we use CSS for struts elements? Is there any other attribute to change the width of the html:file component?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

"styleId" and "styleClass" tags: the documentation is your friend.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:file width
 
Similar Threads
Struts unable to change file types appearing in dialog box
Exception is unable to resolve: validation
Is html:file default possible?
browse button should display only file types All Files (*.*)
html:file tag and custom image