부트스트랩에서 table 태그에 cellpadding 적용하기
마스터욱
0
20
0
0
2017-05-03 00:26:55
부트스트랩을 사용하다 보면 table 태그의 cellpadding 이 적용안됨을 확인할 수 있다.
아래의 style 태그를 적용하면 cellpadding 을 적용할 수 있다.
.table-condensed>thead>tr>th,
.table-condensed>tbody>tr>th,
.table-condensed>tfoot>tr>th,
.table-condensed>thead>tr>td,
.table-condensed>tbody>tr>td,
.table-condensed>tfoot>tr>td { padding: 5px; }
역시 스텍오버플로우~