This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: html:file width