Separated Borders : table border : Table Style HTML CSS TUTORIALS


HTML CSS TUTORIALS » Table Style » table border »

 

Separated Borders


 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title></title>
<style type="text/css" media="Screen">
table {
  border-collapse: separate;
}

* .boxed-table {
  border: 1px solid black;
}


</style>
</head>
<body>
<h2>Boxed Table</h2> 


<table class="boxed-table" cellspacing="5"

    <tr><td rowspan="2">1</td><td colspan="2">2-3</td></tr> 
    <tr><td>7</td><td>8</td><td> </td><td>&nbsp;</td><td class="x">11</td></tr>
</table> 


</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Table Style
» table border