Hi all, I'm creating a table, but something isn't working right. I'm specifying for there to be a border at the bottom of every table row and a border at the top, but I'm only getting a border at the very top and bottom of the table. I want all the rows to have border's underneath them.
Here, this is what I'm getting...

Here is the code.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head><title>Table Example</title>
<style type="text/css">
body {background: black;
color: white;}
table {border-top: 4px ridge white;
padding: 4px;
border-bottom: 4px ridge white}
</style>
</head>
<body>
<table cellspacing="15">
<tr align="left"><th colspan="2">Table 10.5</th><th colspan="2" align="left">Values for the white-space Property</th></tr>
<tr align="left"><th colspan="2">Value</th><th colspan="2">Effect</th></tr>
<tr align="left"><td colspan="2">normal</td><td colspan="2">Do Normal word wrapping and whitespace condensing.</td></tr>
<tr align="left"><td colspan="2">nowrap</td><td colspan="2">Condense whitespace, but don't wrap lines.</td></tr>
<tr align="left"><td colspan="2">pre</td><td colspan="2">Don't condense whitespace, and wrap lines as in the source markup.</td></tr>
</table>
</body>
</html>
Help would be very much appreciated. Thanks...
Here, this is what I'm getting...

Here is the code.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head><title>Table Example</title>
<style type="text/css">
body {background: black;
color: white;}
table {border-top: 4px ridge white;
padding: 4px;
border-bottom: 4px ridge white}
</style>
</head>
<body>
<table cellspacing="15">
<tr align="left"><th colspan="2">Table 10.5</th><th colspan="2" align="left">Values for the white-space Property</th></tr>
<tr align="left"><th colspan="2">Value</th><th colspan="2">Effect</th></tr>
<tr align="left"><td colspan="2">normal</td><td colspan="2">Do Normal word wrapping and whitespace condensing.</td></tr>
<tr align="left"><td colspan="2">nowrap</td><td colspan="2">Condense whitespace, but don't wrap lines.</td></tr>
<tr align="left"><td colspan="2">pre</td><td colspan="2">Don't condense whitespace, and wrap lines as in the source markup.</td></tr>
</table>
</body>
</html>
Help would be very much appreciated. Thanks...
































Linear Mode

