手机
当前位置:查字典教程网 >网页设计 >XHTML >html表单上传文件的“浏览”按钮修改方法
html表单上传文件的“浏览”按钮修改方法
摘要:input{border:1pxsolid#000;}.clear{clear:both;}.ehdel_upload_showinput{...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8">

<meta name="generator" content="PSPad editor, www.pspad.com">

<title></title>

</head>

<body> <style>

input{border:1px solid #000;}

.clear{clear:both;}

.ehdel_upload_show input{float:left; margin-top:10px;}

.ehdel_upload{float:left;margin-top:-20px; *margin-top:-40px; filter:alpha(opacity=0);-moz-opacity:0;opacity:0;}

</style> <form method="post" action="" enctype="multipart/form-data">

<div>

<input id="ehdel_upload_text" type="text" name="txt" />

<input id="ehdel_upload_btn" type="image" src="http://www.isclassic.net/wp-content/uploads/2010/07/link_popup.gif" value="请选择文件" />

</div>

<div></div>

<input type="file" onchange="ehdel_upload_text.value=this.value" />

</form>

</body>

</html>

【html表单上传文件的“浏览”按钮修改方法】相关文章:

浅析响应式框架中,table表头自动换行的快速解决方法

form上传文件后提示保存action的原因及解决方法

html文件的中文乱码问题与在浏览器中的显示问题

html页面实现过两秒跳转至其他页面的方法

关于table表格中的内容溢出布局方法

html插入链接的实现方法

HTML中让表单input等文本框为只读不可编辑的方法

html文件中flash视频格式(flv、swf)文件的嵌入方法

在html文件里include文件内容的方法小结

html禁止清除input文本输入缓存的两种方法

精品推荐
分类导航