新浪微博美化上传图片

<style>
.laPic_btnmore {
height: 32px;
margin: 10px 5px 0;
overflow: hidden;
text-align: center;
width: 122px;
}
.layer_send_pic .laPic_btn .choose_pic, .laPic_btnmore .choose_pic {
    overflow: hidden;
    position: relative;
}
.W_btn_pic {
background: none repeat scroll 0 0 #FBFBFB;
border: 1px solid #E5E5E5;
color: #718698;
display: inline-block;
height: 20px;
padding: 5px 0;
width: 120px;
cursor: text;

}
a:hover {
text-decoration: none;
}


.input_f {
background: none repeat scroll 0 0 transparent;
border: medium none;
cursor: pointer;
height: 25px;
left: 0;
opacity: 0;
position: absolute;
top: 0;
width: 75px;
}


</style>


<div class="laPic_btnmore">
<a class="W_btn_pic choose_pic" href="#" onclick="javascript:"> <span><em class="ico_one"></em>导入Excel</span> <input
type="file" class="input_f" name="pic1" style="">
</a>
</div>

你可能感兴趣的:(JavaScript,新浪微博,File,Class,input,scroll)