위

div 센타정렬

· 2011-09-27 (화) 14:45:05 · 1188 · 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,568
11-09-27 조회 1,728
11-09-27 조회 1,672
11-09-27 조회 1,853
11-09-27 조회 895
11-09-27 조회 1,063
11-09-27 조회 1,067
11-09-27 조회 1,626
11-09-27 조회 1,078
11-09-27 조회 953
11-09-27 조회 1,093
11-09-27 조회 1,652
11-09-27 조회 1,067
11-09-27 조회 1,182
11-09-27 조회 1,189
11-09-27 조회 1,618
11-09-27 조회 1,716
11-09-27 조회 1,115
11-09-27 조회 1,130
11-09-27 조회 1,554