Chris
08-01-2004, 09:46 PM
I have the following code:
<html>
<head>
<title>Glenview Cottage</title>
<LINK href="main.css" type=text/css rel=stylesheet>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" border="0">
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
<tbody>
<tr bgcolor=#FFFFFF>
<td height=3></td></tr>
<tr bgcolor=#000000>
<td height=1></td></tr>
<tr bgcolor=#3366cc>
<td bgcolor=#33CC33 height=65>
<table height=65 cellSpacing=0 cellPadding=0 width=750 border=0>
<tbody>
<tr>
<td width=10></td>
<td width=350>
<div class=top align=left>Glenview Cottage</div></td>
<td width=390>
<div class=tagline align=right>Self-catering holiday accomodation</div></td></tr></tbody></
table></td></tr>
<tr bgcolor=#000000>
<td height=1></td></tr>
<tr>
<td bgcolor=#FFFF00>
<table height=18 cellSpacing=0 cellPadding=0 width=760 border=0>
<tbody>
<tr>
<td vAlign=center height=18>
<div class=navtop align=right>
<div align=left></font>
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
<tbody>
<tr>
<td width="100%">
<div align=right><A
href="http://www.hclyde.com/home.htm">HOME</A> <font
color=#000000>-</font> <a
href="http://www.hclyde.com/contact.htm">CONTACT</A> <font
color=#000000>-</font> <a
href="http://www.hclyde.com/photo%20gallery.htm"><SPAN
lang=en-gb>PHOTO
GALLERY</SPAN></A></div></td></tr></tbody></table></div></div></td></tr></tbody></
table></td></tr>
<tr bgcolor=#000000>
<td class=tagline height=1></td></tr>
<tr bgcolor=#cccccc>
<td height=4></td></tr>
<tr bgcolor=#000000>
<td height=1></td></tr>
<tr>
<td><font
face="Arial, Arial, Helvetica"></font>
</tbody></table>
</body></html>
Firstly, can someone clean it up if there are errors in the table. Thanks.
Secondly, how would i get another table down the left hand side so that it is touching the left hand side of the screen, and the table above it. I want it so that I can alter the table height and width and the backround colour.
Anybody who can help me will be much appreciated.
Thanks.
Chris
<html>
<head>
<title>Glenview Cottage</title>
<LINK href="main.css" type=text/css rel=stylesheet>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" border="0">
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
<tbody>
<tr bgcolor=#FFFFFF>
<td height=3></td></tr>
<tr bgcolor=#000000>
<td height=1></td></tr>
<tr bgcolor=#3366cc>
<td bgcolor=#33CC33 height=65>
<table height=65 cellSpacing=0 cellPadding=0 width=750 border=0>
<tbody>
<tr>
<td width=10></td>
<td width=350>
<div class=top align=left>Glenview Cottage</div></td>
<td width=390>
<div class=tagline align=right>Self-catering holiday accomodation</div></td></tr></tbody></
table></td></tr>
<tr bgcolor=#000000>
<td height=1></td></tr>
<tr>
<td bgcolor=#FFFF00>
<table height=18 cellSpacing=0 cellPadding=0 width=760 border=0>
<tbody>
<tr>
<td vAlign=center height=18>
<div class=navtop align=right>
<div align=left></font>
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
<tbody>
<tr>
<td width="100%">
<div align=right><A
href="http://www.hclyde.com/home.htm">HOME</A> <font
color=#000000>-</font> <a
href="http://www.hclyde.com/contact.htm">CONTACT</A> <font
color=#000000>-</font> <a
href="http://www.hclyde.com/photo%20gallery.htm"><SPAN
lang=en-gb>PHOTO
GALLERY</SPAN></A></div></td></tr></tbody></table></div></div></td></tr></tbody></
table></td></tr>
<tr bgcolor=#000000>
<td class=tagline height=1></td></tr>
<tr bgcolor=#cccccc>
<td height=4></td></tr>
<tr bgcolor=#000000>
<td height=1></td></tr>
<tr>
<td><font
face="Arial, Arial, Helvetica"></font>
</tbody></table>
</body></html>
Firstly, can someone clean it up if there are errors in the table. Thanks.
Secondly, how would i get another table down the left hand side so that it is touching the left hand side of the screen, and the table above it. I want it so that I can alter the table height and width and the backround colour.
Anybody who can help me will be much appreciated.
Thanks.
Chris