Sent by Merkey, Brett on 4 February 2002 08:08
| However, since the answer is essentially NO, are there any
| good examples out
| there of how others have treated a file input field mixed
| with other form
| elements that are styled? I'd like to see a good idea, if
| you know what I
| mean.
Here is the IE technique that Andrew was talking about. You
should try it to see if it works in your environment.
Brett
________________________________________
<HTML>
<HEAD>
<TITLE>Customizing INPUT TYPE=FILE Appearance</TITLE>
</HEAD>
<BODY>
<INPUT TYPE="file" ID="filUpload" STYLE="display:none"
onChange="txtFilename.value = this.value;">
<INPUT TYPE="text" ID="txtFilename"
STYLE="FONT-FAMILY:Tahoma;FONT-SIZE:9pt" SIZE="25" DISABLED>
<INPUT TYPE="button" ID="btnBrowse"
STYLE="FONT-FAMILY:Tahoma;FONT-SIZE:9pt; BACKGROUND-COLOR:peachpuff"
onClick="filUpload.click()" VALUE="Choose a File">
</BODY>
</HTML>