<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>文件域浏览按钮的样式修改</title>
</head>
<body>
<input name="file1" type="file" style="border:1px solid #EAA017" /><br>
<input name="file2" type="file" style="display:none;">
<input id='url' style="width:150px;height:15px"><button style="position:relative;left:2px;border:1px solid #ccc; background-color:#EBE9ED;width:70px;height:20px" onclick="file2.click();url.value=file2.value;url.select();" >Upload...</button>
</body>
</html>