(Selector)
Class
block-level inline-level
table
border-collapse
table-layout
ũ ̺
콺 Ŀ
ũѹ
ũ
μ
@media print
page-break-before
ime-mode
Ŵ(Positioning)
̺ ܼ border-collapse Ӽ

border-collapse ̺ Ǵ ׵θ ǥù ϴ ӼԴϴ.

Ӽδ collapse separate ֽϴ.

  • collapse : ̿ϴ ̺̳ ׵θ ļ ǥ մϴ.
  • separate : ⺻ ̿ϴ ̺̳ ׵θ и ǥ մϴ.

<table width="90%" cellpadding="5" cellspacing="0" border="1" align="center" style="border-collapse:collapse; border:1px gray solid;">
<tr>
 <td>border-collapse:collapse;</td>
</tr>
</table>

border-collapse Ӽ collapse ϰ border Ӽ ߰ ϸ Ʒ ̺ ֽϴ.

border-collapse:collapse;

border-collapse Ӽ ׵θ ǥù ϹǷ ݵ border Ӽ ü ׵θ Ÿ ־ մϴ.

̺ IE Firefox ٸ µ˴ϴ. IE ߰ TD element border Ӽ ߰ ϸ ˴ϴ.

<table width="90%" cellpadding="5" cellspacing="0" border="1" align="center" style="border-collapse:collapse; border:1px gray solid;">
<tr>
 <td style="border:1px gray solid;">HTML</td>
 <td style="border:1px gray solid;">Hypertext Markup Language</td>
</tr>
<tr>
 <td style="border:1px gray solid;">CSS</td>
 <td style="border:1px gray solid;">Cascading Style Sheet</td>
</tr>
</table>

HTML Hypertext Markup Language
CSS Cascading Style Sheet

Copyright © Homejjang.com All rights reserved.