| 200 번 글: [CSS] 이미지 부분만 보이기 |
| 글쓴이: 산이
[홈페이지]
|
글쓴날: 2009년 02월 24일 13:29:26 화(오후) |
조회: 2715 |
스타일시트 이미지 위치 지정
<style>
.iiu { background-image: url("topnav_img.gif");
background-repeat: no-repeat;
background-attachment:fixed;
background-position: 0px -40px; }
.iid { background-image: url("topnav_img.gif");
background-repeat: no-repeat;
background-attachment:fixed;
background-position: 0% 0%; }
</style>
<img src=/images/n.gif width=60 height=100 class=iiu border=1>
<br>
<img src=/images/n.gif width=65 height=160 class=iid border=1>
.hp .prmimg div{width:21px;height:19px}
.hp411{background:no-repeat url(/mapfiles/hpimgs11.png) -67px
-77px;width:21px;height:19px}
.hpadw{background:no-repeat url(/mapfiles/hpimgs11.png) -67px
-58px;width:21px;height:19px}
.hpeapi{background:no-repeat url(/mapfiles/hpimgs11.png) -23px
-27px;width:21px;height:19px}
.hpgmm{background:no-repeat url(/mapfiles/hpimgs11.png) -67px
-27px;width:21px;height:19px}
.hplbc{background:no-repeat url(/mapfiles/hpimgs11.png) -23px
-77px;width:21px;height:19px}
.hpref{background:no-repeat url(/mapfiles/hpimgs11.png) -23px
-58px;width:21px;height:19px}
|
이전글 : [MySQL] my.cnf 튜닝 스크립트
다음글 : [ssh] openssh 옵션
|
from 114.111.62.248
JS(Redhands)Board 0.4 +@
|