보이기 / 감추기 -_-
<a style="cursor: pointer" onclick="if(MyMenu.style.display=='none'){MyMenu.style.display=''}else{MyMenu.style.display='none'}">보이..
CSS - 1. 선택자
선택자는 중요한 것이지요.스타일을 적용할 대상을 지정하는 것이기 때문이지요. a { color: red; }.test { color: green; }#title { color: blue;..
CSS shorthand properties (단축 속성)
font 단축 속성구문 : { font: font-style | font-variant | font-weight | font-size | line-height | font-family }예제 : { font: 0.75em/1.4em ..
a 링크에 점선 테두리 없애기
[ CSS ]a { selector-dummy:expression(this.hideFocus=true); }[ Style ]링크 이어지는 <a href.... 테그에 onfocus="this.blur()" 추가
[Style] display & visiblity 차이점 과 ..
DIV레이어를 보임/숨김 속성을 지정하는데 있어 display 와 visiblity 두 가지 모두를 사용한다.그런데 속성의 차이, 즉 display 와 visiblity 의..
[CSS] div를 이용한 레이아웃
float 속성left : 개체를 왼쪽으로 배치함right : 개체를 오른쪽을 배치함nond : float 시키지 않음position 속성static : 기본값relative : static..
background 관련 스타일.
* background-attachment: 페이지요소와 함께 스크롤이 되는 배경을 설정할때 사용(fixed/scroll)* bakcground-color : 배경색을 지정할때 사..
테이블라인 원하는곳에만 넣기
테이블라인 원하는곳에만 넣기<style type="text/css"><!--.mime {border-top-width:숫자;border-top-color:색상;border-top-style:선의 ..
FONT class의 순서
형식 font : <font-style> | <font-variant> | <font-weight> | <font-size> | <line-height> | <font-family>..
img 태그에 border=0을 넣지말자~!
이미지 태그에 border 값을 설정하지 않은 상태에서 그 이미지에 하이퍼링크를 걸게 되면 이미지 주변에 경계선이 생기게 된다. 이를 방지하기 위해..