CSS
- 배경이미지 투명하게 2014.09.02
- 파일찾기 2014.04.11
배경이미지 투명하게
2014. 9. 2. 09:39
파일찾기
2014. 4. 11. 17:33
<style>
.comm_file {position:relative;background:url('btn_attachSch.png') no-repeat right center; }
.comm_file .inp_file_btn {display:block;position:absolute;top:0;right:0;width:58px;height:22px;opacity:0;filter:alpha(opacity=0); }
.comm_file .inp_file_txt {float:left; border:1px solid #bbb;background:none;}
.clfix:after{content:".";display:block;height:0px;clear:both;visibility:hidden; }
</style>
<div class="comm_file clfix" style="width:575px;">
<input type="file" id="attach" name="attach" class="inp_file_btn" onchange="document.getElementById('b_f_name_imsi').value=this.value;">
<input type="text" id="b_f_name_imsi" name="b_f_name_imsi" class="inp_file_txt" style="width:495px">
</div>
'CSS' 카테고리의 다른 글
배경이미지 투명하게 (0) | 2014.09.02 |
---|