위

div 센타정렬

· 2011-09-27 (화) 14:45:05 · 1203 · 5
<div style=" padding-right:20px; xxpadding-top:30px; background:url('/img/to_box2.gif') no-repeat;height:200px;" >
<div style="height:30px; cursor:pointer;" onClick="location.href='/shop/list_recm.php';" ></div>

위와같이 코드가 짜여 있는데요
백그라운드를 센타정렬하는 방법은 뭔가요???

댓글 5개

<div style=" padding-right:20px;padding-top:30px; background:url('/img/to_box2.gif') no-repeat center;height:200px;">
<div style="height:30px; cursor:pointer;" onClick="location.href='/shop/list_recm.php';"></div>
안되는데요 ㅜㅜ
이미지 올려주세요
</div> 가 하나 빠졋네요

<div style=" padding-right:20px;padding-top:30px; background:url('/img/to_box2.gif') no-repeat center;height:200px;"> </div>
<div style="height:30px; cursor:pointer;" onClick="location.href='/shop/list_recm.php';"></div>

거나

<div style=" padding-right:20px;padding-top:30px; background:url('/img/to_box2.gif') no-repeat center;height:200px;">
<div style="height:30px; cursor:pointer;" onClick="location.href='/shop/list_recm.php';"></div>
</div>

로 하시면될꺼에요 멀 만드신건지 파익이 안되니 ~ 답하기 참 어렵네요
이렇게 간단한 거였군요 ^^;; 옴바님 답변 감사드립니다 즐거운 하루되세요~~
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
11-09-27 조회 1,599
11-09-27 조회 1,741
11-09-27 조회 1,681
11-09-27 조회 1,867
11-09-27 조회 907
11-09-27 조회 1,087
11-09-27 조회 1,077
11-09-27 조회 1,637
11-09-27 조회 1,089
11-09-27 조회 967
11-09-27 조회 1,104
11-09-27 조회 1,715
11-09-27 조회 1,083
11-09-27 조회 1,195
11-09-27 조회 1,204
11-09-27 조회 1,630
11-09-27 조회 1,741
11-09-27 조회 1,129
11-09-27 조회 1,146
11-09-27 조회 1,574