배경넣기의 모든 것
본문
1. 그림(이미지)로 배경넣기
<style>
body { background-image:url(배경주소); }
table { background-color: transparent; }
td { background-color: transparent; }
</style>
2. 색상으로 배경넣기
<style>
body { background-color:색상코드; }
table { background-color: transparent; }
td { background-color: transparent; }
</style>
3. 색깔로 배경깔기
<STYLE TYPE="text/css">
body,table,td{background-color:색상코드;}
</STYLE>
4. 전체배경깔기
<STYLE> body { background-image:url(배경주소); } table {
background-color: transparent; } td { background-color:
transparent; } </STYLE>
5. 뒷배경깔기
<!----배경---->
<STYLE type=text/css>body{background-
color:#ffffff;background-image:url("배경주소");}</STYLE>
</!----배경---->
6. 고정배경깔기
<style> body { background-image:url(배경주소); background-
attachment: fixed; background-repeat: no-repeat;
background-position: center; } table { background-color:
transparent; } td { background-color: transparent; }
</style>
출처 : http://www.aircon1004.com/data/bbs/board.php?bo_table=pds1&wr_id=149
<style>
body { background-image:url(배경주소); }
table { background-color: transparent; }
td { background-color: transparent; }
</style>
2. 색상으로 배경넣기
<style>
body { background-color:색상코드; }
table { background-color: transparent; }
td { background-color: transparent; }
</style>
3. 색깔로 배경깔기
<STYLE TYPE="text/css">
body,table,td{background-color:색상코드;}
</STYLE>
4. 전체배경깔기
<STYLE> body { background-image:url(배경주소); } table {
background-color: transparent; } td { background-color:
transparent; } </STYLE>
5. 뒷배경깔기
<!----배경---->
<STYLE type=text/css>body{background-
color:#ffffff;background-image:url("배경주소");}</STYLE>
</!----배경---->
6. 고정배경깔기
<style> body { background-image:url(배경주소); background-
attachment: fixed; background-repeat: no-repeat;
background-position: center; } table { background-color:
transparent; } td { background-color: transparent; }
</style>
출처 : http://www.aircon1004.com/data/bbs/board.php?bo_table=pds1&wr_id=149
관련링크
댓글목록
등록된 댓글이 없습니다.