Hidden, Removed Cells and Separated Borders : table cell : Table Style HTML CSS TUTORIALS


HTML CSS TUTORIALS » Table Style » table cell »

 

Hidden, Removed Cells and 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,td,th {
  border: 1px solid black;
}

* .separated {
  border-collapse: separate;
}

* .x {
  display: none;
}

* .h {
  visibility: hidden;
}
</style>
</head>
<body>



<table class="separated" cellspacing="5"
    
    <tr><td>1</td><td>2</td><td>3</td><td>4</td></tr> 
    <tr><td class="h">1</td><td>2</td><td class="x">3</td><td>4</td></tr>
</table> 



</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Table Style
» table cell