table 소스좀 봐주세요!

table 소스좀 봐주세요!

QA

table 소스좀 봐주세요!

본문

33825257a7e89105b5c48470acde8dac_1484144918_2441.png
 

 

쇼핑몰을 만들고잇습니다만.. 테이블을 만들어서 가격표시해주려고 하는데요 빨간박스 보시면 왜 저렇게 띄어지는건지 이해가 안됩니다. 아래는 소스입니다.

 

CSS

/* 장바구니 */

.cart_total_list th {width:1145px;padding:20px 0;text-align:center;border-top:1px solid #040404;letter-spacing:-0.1em;font-size:1.5em}

 

HTML

<div class="cart_total_list">

<table>

<thead>

<tr>

<th scope="col">총 상품금액</th>

<th scope="col">배송비</th>

<th scope="col">총 결제금액</th>

<th scope="col">지급예정 적립금</th>

</tr>

</thead>

<tbody>

<tr>

<th scope="col"><?php echo number_format($tot_sell_price); ?>원</th>

<th scope="col">+<?php echo number_format($send_cost); ?>원</th>

<th scope="col"><?php echo number_format($tot_price); ?>원</th>

<th scope="col"><?php echo number_format($tot_point); ?>원</th>

</tr>

</tbody>

</table>

</div>

 

답변부탁드립니다!

이 질문에 댓글 쓰기 :

답변 1

올려주신 css는 이상이 없어보이는데 아마 다른쪽에서 영향을 받은거 같은데

f12를 눌리셔서 css가 다른게 혹시 적용된게 있나 확인해보세요

답변을 작성하시기 전에 로그인 해주세요.
전체 153
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT