html表單上傳文件的“瀏覽”按鈕修改方法
來源:易賢網(wǎng) 閱讀:3348 次 日期:2016-06-21 16:44:18
溫馨提示:易賢網(wǎng)小編為您整理了“html表單上傳文件的“瀏覽”按鈕修改方法”,方便廣大網(wǎng)友查閱!

代碼如下:

<!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 class="ehdel_upload_show">

<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 class="clear"></div>

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

</form>

</body>

</html>

更多信息請查看網(wǎng)頁制作
易賢網(wǎng)手機網(wǎng)站地址:html表單上傳文件的“瀏覽”按鈕修改方法
由于各方面情況的不斷調(diào)整與變化,易賢網(wǎng)提供的所有考試信息和咨詢回復僅供參考,敬請考生以權(quán)威部門公布的正式信息和咨詢?yōu)闇剩?/div>
關(guān)于我們 | 聯(lián)系我們 | 人才招聘 | 網(wǎng)站聲明 | 網(wǎng)站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點

版權(quán)所有:易賢網(wǎng)