블로그
- [스파르타코딩클럽] 나홀로 코딩 패키지 1일차 background-image: url() background-size background-position 이 세 가지는 세트 padding은 안쪽 여백 margin은 바깥 여백 widthh/height subset=korean 적당한 곳에 원하는 폰트 링크 복붙 style에 *{CSS rules to specify families에 써있는거} 복붙 ctrl+k+f 자동 정렬 숙..
- [html,css]줄간격(행간)조정법 행간을 조정하는 속성 line-height : 행간값 페이지 전체의 행간을 변경 body{line-height: 행간 값} 단락의 행간을 변경 p{line-height: 행간 값} 문자 기준을 1em으로 했을 때의 값 line-height: 0.5em px: px의 값 line-height: 5px 사용 코딩:
- position:absolute;를 활용한 정렬 /*css*/ .test{ position:relative; /*블럭태그*/ width:800px; height:800px; background:#99c; margin:100px auto ; } .box1{ position:absolute; top:0; left:0; width:100px; height:100px; background:#c00; border-radius
- 예제)스크립트,제이쿼리 만들어보기 //선택자 스타일속성 중 height: 값을 구하라 $('#id').css({height:winH}); }); ---------------------------------------
- 기본 css 종류들 CSS 종류들~ width 넓이min-width 최소 넓이max-width 최대 넓이 height 높이min-height 최소 높이max-height 최대 높이 float:none
- jquery bootstrap contextmeu ) return; //open menu var $menu = $(settings.menuSelector) .data("invokedOn", $(e.target)) .show() .css absolute", left: getMenuPosition(e.clientX, 'width', 'scrollLeft'), top: getMenuPosition(e.clientY, 'height
- CSS 핵 정리 (IE6, IE7, IE8, IE9), FF, Chrome, Safari Original CSS .ComLayer1 { color:#ff0000; font-size:12px; vertical-align:middle; } IE6 * .ComLayer1 { vertical-align:top; } IE7 *+ html .ComLayer1 { color:#ff0000; font-size:12px; vertical-align:middle; line-height
- css로 li 태그의 높이를 자동으로 가장 긴 li 높이값으로 맞추기 ; $(document).ready(function(){ var max_h=0; $("#aaa li").each(function(){ var h = parseInt($(this).css ("height")); if(max_h 1 2 3 <.......
- ♢ hasLayout이란?! IE계통 CSS 버그중 다수를 차지하는 float, width, height 와 관련된 버그가 이 haslayout과 관련이 있습니다. 문제점. - IE의 float 버그. - 기본 속성(width, height 등)이 표준과 다르게 적용되는 박스.......
- DIV 내에 스타일로 직접 정의하는 방법 .^^) == DIV 내에 스타일로 직접 정의하는 방법 내용 == DIV 에 클래스로 정의하는 방법 내용 css 내용을 본 파일의 스타일쉬트부분에 클래스로 묶어 정의합니다. .table {width:800px; height=380; overflow: aut.......
← 이전
2 페이지