상세 컨텐츠

본문 제목

스타일시트시작

CSS

by 김일국 2010. 4. 22. 15:44

본문

※ 주요 스타일시트 속성 리스트 (20여개)

color : 글자색(전경색)
font-size : 크기
font-family : 글꼴
font-weight : <b>
font-style : <i>
line-height : 줄간격
text-decoration : 텍스트장식(밑줄,관통선,윗줄)
text-align : 텍스트수평정렬
vertical-align : 수직정렬
text-transform : 첫자대문자, 모두대문자, 모두소문자
text-indent : 들여쓰기
width : 가로(모든 객체)
height : 세로(모든 객체)
padding : 안쪽여백
margin : 바깥쪽여백

letter-spacing : 문자간격
word-spacing : 단어간격
border : 테두리(외곽선;color,width,style)
border-top style :
border-left width :
border-bottom color :

background-color : 배경색
background-image:url() : 배경이미지
background-repeat : 배경이미지 반복 여부
background-position : 배경이미지 위치
background-attachment : 배경이미지 고정 여부
cursor : 커서 모양
a:link : 기본링크
a:visited : 방문링크
a:active : 활성링크
a:hover : 마우스오버링크
scrollbar : 스크롤바모양
float : 이미지/텍스트 배치 설정
clear : 이미지/텍스트 배치 설정 해제
left, top, z-index, clip

list-style-type : 리스트모양
list-style-image :
display:none

 

관련글 더보기

댓글 영역