Posted by Jim Carlock on 10/26/69 11:59
"iulian.ilea" <iulian.ilea@gmail.com> wrote:
<snip>
:) I tried it before posting here :). The background of the
browse button doesn't change.
....
<input name="fileUpload" type="file" class="subtitle" title="GOGOGO" />
</snip>
The type="" should be "button" or "submit". See the following code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Test</title>
<style type="text/css">
h1 { text-align:center; }
input { clear:both;margin:2px auto;width:200px; }
..specialstuff { color:#000000;background-color:#FF8800;border:3px groove #AAAABB; }
..specialstufftext { color:#000000;background-color:#FF8800;border:3px inset #660000; }
..specialformclass { float:left;width:100%;border:3px ridge #660000;text-align:center; }
p { font-size:8pt;text-align:center; }
</style></head>
<body><h1>Test Input Colors</h1>
<div class="specialformclass"><form name="specialform">
<input class="specialstufftext" type="text" name="filename" value="" />
<input class="specialstuff" type="button" value="SpecialStuff" />
</form></div>
<p><a href="http://www.aquaticcreationsnc.com">North Carolina Swimming Pool Builders</a></p>
</body></html>
North Carolina Swimming Pool Contractors
http://www.aquaticcreationsnc.com/
[Back to original message]
|