<table width="" height="" border="0" cellpadding="0" cellspacing="0" summary="">
<caption></caption>
<thead>
<tr>
<th></th><th></th>
</tr>
</thead>
<tfoot>
<tr>
<th></th><td></td>
</tr>
</tfoot>
<tbody>
<tr>
<td></td><td></td>
</tr>
</tbody>
</table>
td, th
colspan="#"
rowspan="#"
align="left|right|center"
valign="top|middle|botttom|baseline"
width="#"
scope="row|col|rowgroup|colgroup"
colgroup
span="#"
align="left|right|center"
valign="top|middle|botttom|baseline"
width="#"
colgroup 설정 방법 - 3열일 경우
1.
<colgroup span="2" align="center" width="50">
</colgroup>
<colgroup align="right" width="100">
</colgroup>
2.
<colgroup align="center" width="50">
<col span="2" style="color:red">
<col width="100">
</colgroup>
CSS
/* reset */
table, caption, tbody, tfoot, thead, tr, th, td { margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-style:inherit; font-size:100%; font-family:inherit; }
/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse:separate; border-spacing:0; } /* border-collapse:collapse|separate; */
'all' 카테고리의 다른 글
PNG24 투명 이미지 iepngfix.htc 이용하기 (0) | 2010.03.03 |
---|---|
PNG24 투명 이미지 스크립트 html 직접 입력하기 (0) | 2010.03.03 |
pt, px, em, % 단위환산 (0) | 2010.03.03 |
특수기호 영문명 (0) | 2010.03.03 |
IE 버젼 별로 css 적용하기 (0) | 2010.03.03 |