We would like to know how to draw Table Border and turn off table cell border.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
table {<!--from w w w .jav a 2s .com-->
border: 2px solid red;
}
td {
border: 0;
padding: 5px;
}
</style>
</head>
<body>
<table>
<tr>
<td>cell 1</td>
<td>cell 2</td>
</tr>
</table>
</body>
</html>
The code above is rendered as follows: