验证中...
gistfile1.txt
Raw Copy
//样式
label{
padding: 2px 5px;
border: 1px solid #ccc;
}
#select_file{
display: none;
}
//html代码
<label for="select_file">选择文件</label>
<input type="file" id="select_file" name="file" />
//关键是label的for属性指向input的id

Comment list( 0 )

You need to Sign in for post a comment

Help Search