FAQ
Van,
I’m trying to create a jsp page that can upload a file. Everything
works, but I cannot apply my style to the “Browse” button:
Most browsers don't let you style the browse button for file input types
specifically.
That displays the regular button… I apply the same styleClass to the
submit button and that works out fine:
Yup: that's because it's a "button" instead of a "file" input type. I
think you might just be out of luck.

Also remember that Safari won't let you style buttons at all.

- -chris
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupuser @
categoriesstruts
postedNov 7, '06 at 9:45p
activeNov 7, '06 at 11:20p
posts2
users2
websitestruts.apache.org
irc#struts

2 users in discussion

Christopher Schultz: 1 post Van Nguyen: 1 post

People

Translate

site design / logo © 2022 Grokbase