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


HTML CSS TUTORIALS » Table Style » table cell »

 

Hidden, Removed Cells and Collapsed 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;
}

* .collapsed {
  border-collapse: collapse;
}

* .x {
  display: none;
}

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



<table class="collapsed" cellspacing="0"

    <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