:: [홈페이지 만들기 기초] css 에서 테이블 꾸미기 <table>과 <tr>, <td> 넣기

홈페이지 제작시 도표를 정리할때 테이블을 많이 사용하는데 <div> 태그외에 <table> 을 여전히 많이 사용하게 된다.

css 에서 테이블을 꾸미는 방법을 올려보았다.

아래 코드는 <head> 와 </head> 사이에 넣거나 style.css 에 넣으면 된다.

<style>
table{border-style: solid; border-width: 3px; border-color: #000000;}
tr, th {font-size: 24px; color: #ffffff; font-weight: bold; background-color: #111111; padding: 6px;}
td {font-size: 16px; color: #336699; padding: 6px; border-style:dashed;}
</style>

error: Content is protected !!