Forum Moderators: open
I haave created a row for the header and valigned it top and one for the botton and valigned it bottom. I want to create 4 <td> in the bottom row. But for some reason its only letting me create one. What could be causing this.
Here is my code. Thanks
code ---- <html>
<body bottomMargin="0" leftMargin="0" topMargin="0" scroll="no" rightMargin="0">
<table height="100%" width="100%" border="0">
<tr vAlign="top">
<td><IMG src="bbc.gif"></td>
</tr>
<tr vAlign="bottom" height="60">
<td valign="bottom"><IMG src="fx.gif"></td>
<td><IMG src="fx.gif"></td>
</tr>
</table>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Untitled</title>
<style type="text/css">
td {
border: 1px solid #ff0000;
}
</style>
</head>
<body>
<table>
<tr>
<td colspan="4">R1 C1</td>
</tr>
<tr>
<td>R2 C1</td>
<td>R2 C2</td>
<td>R2 C3</td>
<td>R2 C4</td>
</tr>
<tr>
<td colspan="4">R3 C1</td>
</tr>
<tr>
<td>R4 C1</td>
<td>R4 C2</td>
<td>R4 C3</td>
<td>R4 C4</td>
</tr>
</table>
</body>
</html>
I think you're heading off down the wrong road with some nasty late-20th-Century HTML. I recomend you validate your code to at least HTML 4.01 and learn a bit of CSS.