empty cells

The empty-cells property determines if an empty cell is rendered with a border. The possible values are
PropertiesDescription
showto render an empty cell with a border
hideto render an empty cell without a border
snippet
<html>
<head>
    <style>
        * {border: 1px solid #000000; padding: 10px; margin:2px;}
    </style>
</head>
<body>
<table>
	<tr><td>data 1</td><td>data 2</td><td>data 3</td></tr>
	<tr><td>data 4</td><td>data 5</td><td>data 6</td></tr>
	<tr><td>data 7</td><td>data 8</td><td>data 9</td></tr>
</table>
<table style="empty-cells:show;">
	<tr><td>data 1</td><td>data 2</td><td>data 3</td></tr>
	<tr><td>data 4</td><td>data 5</td><td>data 6</td></tr>
	<tr><td>data 7</td><td>data 8</td><td>data 9</td></tr>
</table>
</body>
</html>
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +