Cell with no Border : table cell : Table Style HTML CSS TUTORIALS


HTML CSS TUTORIALS » Table Style » table cell »

 

Cell with no Border


 
<?xml version="1.0" encoding="iso-8859-1"?>
<!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>
<title>Table Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
body {
  font-family: arial, verdana, sans-serif;
}

td {
  border: solid 1px black;
  width: 100px;
  empty-cells: hide;
}
</style>
</head>

<body>

<table>
  <tr>
    <td></td>
    <th>Race 1</th>
    <th>Race 2</th>
    <th>Race 3</th>
  </tr>
  <tr>
    <th>Driver A</th>
    <td>33s</td>
    <td>50s</td>
    <td>45s</td>
  </tr>
  <tr>
    <th>Driver B</th>
    <td>56s</td>
    <td>23s</td>
    <td>11s</td>
  </tr>
</table>

</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Table Style
» table cell