table 소스좀 봐주세요!
본문
쇼핑몰을 만들고잇습니다만.. 테이블을 만들어서 가격표시해주려고 하는데요 빨간박스 보시면 왜 저렇게 띄어지는건지 이해가 안됩니다. 아래는 소스입니다.
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>
답변부탁드립니다!
답변을 작성하시기 전에 로그인 해주세요.