HTML 테이블 선 조절하기
[소스] <table cellspacing="0" cellpadding="0" border="1" bordercolor="#ff0080"> <tr align="center"> <td>Welcome to the TaengTaeng★ Jamtaeng's Tong.</td> </tr> </table>
<table cellspacing="0" cellpadding="0" border="1" bordercolor="#3dbafe" style="border-collapse: collapse"> <tr align="center"> <td>Welcome to the TaengTaeng★ Jamtaeng's Tong.</td> </tr> </table>
[결과]
테이블 색으로 표시를 해봤다. 위에 분홍색은 테이블을 만들때 기본으로 나오는 border굵기인데 사실 넘 두꺼워서... 아래의 테이블처럼 하려고 하면 table태그 안에 style을 준다. border-collapse: collapse를 넣어주면 boder가 1pixel과 같이 된다. ^^; | |
|
|