위

div 센타정렬

· 2011-09-27 (화) 14:45:05 · 1200 · 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,576
11-09-27 조회 1,738
11-09-27 조회 1,679
11-09-27 조회 1,864
11-09-27 조회 903
11-09-27 조회 1,072
11-09-27 조회 1,074
11-09-27 조회 1,634
11-09-27 조회 1,085
11-09-27 조회 964
11-09-27 조회 1,102
11-09-27 조회 1,662
11-09-27 조회 1,077
11-09-27 조회 1,192
11-09-27 조회 1,201
11-09-27 조회 1,626
11-09-27 조회 1,725
11-09-27 조회 1,126
11-09-27 조회 1,141
11-09-27 조회 1,568