Ruch,
Karthikeyan is talkin bot changing the style of File, not BUTTON or
SUBMIT,..
Changing the style of a BUTTON is a common thing, which i guess Karthik
knows already,...
As far File is concerned, there is nothing you can do to change either the
style or the label "Browse" or even clear its value (you can only reset the
form),...

Viju



> Yes you can change the style of the button as well.
> Try this out.
>
> <html>
> <head></head>
> <body>
> <form name="test_form" method="post" action="test.jsp">
> <input type=file name=browse style="display: none;">
> <input type=text name=file>
> <input type=button
>        style="font-style:veranda; font-size:12px;
> font-weight:bold;text-transform:lowercase;color:white;background-color:#
> A2C382;height:22px;border-style:ridge;text-align:center;"
>        onClick="browse.click();file.value=browse.value;"
>        value="Select a File...">
> <br><br>
>
> <input type=submit
>        value="Submit The Form Now!"
>        style="font-style:veranda; font-size:12px;">
> </form>
> </body>
> </html>
>
> -Ruchi A.
>
>
> -----Original Message-----
> From: S Karthikeyan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 22, 2004 10:43 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Change button's label for Input type "File"
>
> Hi,
>
>  Try to see if there is any Style Sheet attribute available for changing
> it
>
> regards
>
> S.Karthikeyan
>
>
> -----Original Message-----
> From: Ruchi Agarwal [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 22, 2004 12:49 PM
> To: [EMAIL PROTECTED]
> Subject: Change button's label for Input type "File"
>
>
> Hi all,
>
>
>
> <td width="39%" valign="top" class="contentText"><font size="1"><strong>
>
>
>       <input type="file" name="UPLOAD_FILE">
>
> </strong></font></td>
>
>
>
> I want to change the default button's label from "Browse.." to "upload
> file.."
>
> I couldn't find other attribute to change that. Is it possible to
> change?
>
>
>
> Regards,
>
> -Ruchi
>
>
>
>
> ========================================================================
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be found at:
>
>  http://java.sun.com/products/jsp
>  http://archives.java.sun.com/jsp-interest.html
>  http://forums.java.sun.com
>  http://www.jspinsider.com
>
> ========================================================================
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be found at:
>
>  http://java.sun.com/products/jsp
>  http://archives.java.sun.com/jsp-interest.html
>  http://forums.java.sun.com
>  http://www.jspinsider.com
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be found at:
>
>  http://java.sun.com/products/jsp
>  http://archives.java.sun.com/jsp-interest.html
>  http://forums.java.sun.com
>  http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to