blob: 245d49c10b77ba0cdc69cf6115e58872318b995f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<style type="text/css">
td {width: 100px; text-align:center}
div {position:absolute; border:green 4px solid}
</style>
</head>
<body>
<!-- the height for table cells includes the border -->
<div>
<table cellspacing="0">
<tbody><tr><td style="border:solid 4px orange; height:30px">cell 1</td></tr>
</tbody></table>
</div>
</body></html>
|