This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:file taglib ... please help

 
jack enloe
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
does anyone know how to change the button style on the html:file taglib.. i tried using stylesheet with the style="my style" but that's not working...
 
Amit Kumar Kaushik
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try the following code

<html:file property="imageFile1" styleClass="filebutton" />

and code for style is given below. You can put it in .css file and link in jsp

.filebutton
{
BORDER-RIGHT: #999999 1px solid;
BORDER-TOP: #999999 1px solid;
FONT-WEIGHT: normal;
FONT-SIZE: 10pt;
COLOR: #000000;
BORDER-LEFT: #999999 1px solid;
BORDER-BOTTOM: #999999 1px solid;
FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
}
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic