출처: http://www.w3schools.com/css/css_table.asp


Collapse Borders

The border-collapse property sets whether the table borders are collapsed into a single border or separated:

Example

table
{
border-collapse:collapse;
}
table,th, td
{
border: 1px solid black;
}

Try it yourself »



CSS Tables

Specify a black border for table, th, and td elements
Use of border-collapse
Specify the width and height of a table
Set the horizontal alignment of content (text-align)
Set the vertical alignment of content (vertical-align)
Specify the padding for th and td elements
Specify the color of the table borders
Set the position of the table caption
Create a fancy table


Table properties explained

'개발관련 > CSS/CSS3' 카테고리의 다른 글

[CSS]CSS Box Model - CSS Border  (0) 2012.10.23
[CSS]CSS Box Model - CSS Box Model  (0) 2012.10.23
[CSS]CSS Styling - Styling Lists  (0) 2012.10.23
[CSS]CSS Styling - Styling Links  (0) 2012.10.23
[CSS]CSS Styling - Styling Fonts  (0) 2012.10.23
Posted by 파노카페
: