글

라벨이 input인 게시물 표시

[HTML] input file

1. input file <style type="text/css"> .eventWrap .inputFile{padding:23px 0 14px 227px;} .eventWrap .inputFile:after{content:'';display:block;clear:both;} .eventWrap .inputFile .file_input_textbox{float: left;width:405px;height:55px;line-height:55px;border:1px solid #ababab;border-width:1px 0 1px 1px;background:#f1f1f1;font-size:16px;} .eventWrap .inputFile .file_input_div{position: relative;   width: 140px;   height: 57px;   overflow: hidden;text-align:left;} .eventWrap .inputFile .file_input_button{width: 140px;height:57px;  position: absolute;  top: 0px; background:url('./images/btn_file_search.gif') no-repeat 0 0; color:#fff;text-indent:-9999px;border:none;} .eventWrap .inputFile .file_input_div .file_input_hidden{width:546px;height:57px;  font-size: 23px;   position: absolute;   right: 0px;   top: 0px;   opacity: 0;filter: alpha(opacity=0);  -ms-filter: "alpha(opacity=0)";  -khtml-opacity: 0;  -moz-opacit...

[CSS] input checkbox scale 크기 키우기

input [ type = checkbox ] { /* Double-sized Checkboxes */ - ms - transform : scale ( 2 ); /* IE */ - moz - transform : scale ( 2 ); /* FF */ - webkit - transform : scale ( 2 ); /* Safari and Chrome */ - o - transform : scale ( 2 ); /* Opera */ padding : 10px ; } 이런게 있네 ㅎㅎㅎ

[HTML5] HTML5 기초 : input 유형과 속성

HTML5에서 사용되는 input 유형입니다.'ㅁ')/ 아래 내용은 파일 첨부하였으니 최신 브라우저에서 확인해 보실 분들은 확인해 보세요. 아마도 후회할 것임ㅋㅋㅋ text - 텍스트를 입력함 password - 비밀번호 입력시 사용하며 동그리마로 표기됨 checkbox - 여러개를 체크할 수 있음 radio - 한가지만 선택 file - 파일을 업로드 할 수 있음 submit - 폼에 입력한 값을 전송함 New)  email - 지원하는 곳에서 자판이 email용으로 변하고 email형식을 입력해야함 New)  url - 지원하는 곳에서 자판이 url용으로 변하고 http://가 자동으로 앞에 사용됩니다. New)  number - 상하버튼을 눌러서 숫자를 변경 할 수 있습니다. min : 최소값 max : 최대값 step : 숫자 간격 (기본값은 1) value : 초기값 New)  range - 슬라이드 막대로 숫자를 변경 min : 최소값 max : 최대값 step : 숫자 간격 (기본값은 1) value : 초기값(생략하면 슬라이드 가운데) New)  date... - 날짜와 관련된 유형입니다.  date : 연도, 월, 날짜를 선택  month : 연도, 월 선택  week : 연도, 주 선택  time : 시간을 표시  datetime : 날짜, 시간 선택. UTC 시간대 기준  datetime-local : 연도, 월, 날짜 현지 시간이 표시됨 New) search - 검색상자입니다. 입력시 상자 오른쪽에 x 표시가 됩니다. New) color - 색상을 선택합니다. 추가된 유형들은 대부분이 현재 브라우저에서 미미하게 지원을 하고 있기 때문에 바로 사용하기에는 큰! 무리수가 있더군요.'ㅡ'); 적용되면 아무튼 편하긴 할듯. 새로 추가된...

[JS] input onfocus

onfocus="this.style.backgroundImage='none', this.style.backgroundColor='#fff';" onclick="if(this.value=='강아지')this.value='';" onblur="if(this.value =='') this.value='강아지';"  

[CSS] input type="image", "text" 세로 정렬

이미지
ie는 type="text" 와 type="images"가 가지는 영역을 다르게 랜더링한다. div.box{border:1px solid #3366ff;} input.style{border:1px solid #333;width:100px;height:20px;} <div class="box">  <input type="text" class="style" /> <input type="image" src="./images/common/login_btn.gif" /> </div> 이 부분은 우리가 각 태그가 가지는 영역을 없애기 위해  CSS시작에 padding:0px;margin:0px;를 주고 시작하듯 input 에 vertical-align:top;을 주면 해결이 된다. 그 후에는 컨디셔널코멘트로 위치값을 조정하자. Add *input 을 float으로 띄우는 방법도 있음.