Table Help!!

liunx

Guest
i'm having trouble with the images i place into my table. every time the middle cell goes longer... the images move down with it, so they're not aligned to the top of the cell, as i don't want the cells either side of the middle one to move at all.<br />
<br />
here's the html...<br />
<br />
<HTML><br />
<HEAD><br />
<META NAME="Author" CONTENT="Andrew"><br />
<META NAME="Generator" CONTENT="Microsoft FrontPage 5.0"><br />
<TITLE>Coppice.net | Coppice Community High School</TITLE><br />
</HEAD><br />
<BODY topmargin="0" leftmargin="0"><br />
<br />
<!-- Begin Table --><br />
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="778" HEIGHT="677"><br />
<br />
<TR><br />
<TD ROWSPAN="1" COLSPAN="5" WIDTH="778" HEIGHT="102"><br />
<IMG NAME="highschool_layout0" SRC=http://www.htmlforums.com/archive/index.php/"highschool_layout_1x1.gif" WIDTH="778" HEIGHT="102" BORDER="0"></TD><br />
</TR><br />
<br />
<TR><br />
<TD ROWSPAN="1" COLSPAN="5" WIDTH="778" HEIGHT="17"><br />
<IMG NAME="highschool_layout1" SRC=http://www.htmlforums.com/archive/index.php/"highschool_layout_2x1.gif" WIDTH="778" HEIGHT="17" BORDER="0"></TD><br />
</TR><br />
<br />
<TR><br />
<TD COLSPAN="2" style="width: auto; height: 160" align="left" valign="top"><br />
<IMG NAME="highschool_layout2" SRC=http://www.htmlforums.com/archive/index.php/"highschool_layout_3x1.gif" WIDTH="177" HEIGHT="217" BORDER="0"></TD><br />
<TD ROWSPAN="3" align="left" valign="top" style="width: auto; height: 558"><br />
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber1" width="416"><br />
<tr><br />
<td align="left" valign="top" style="width: auto"><font face="Arial" size="1"><br />
Clock script will go here.</font></td><br />
</tr><br />
<tr><br />
<td style="float: left; font-family: Arial; font-size: 10pt; width:auto" align="left" valign="top"><br />
Coranto script will go here...<p>.</p><br />
<p>.</p><br />
<p>.</p><br />
<p>..</p><br />
<p>.</p><br />
<p>.</p><br />
<p>.</p><br />
<p>.</p><br />
<p>.</p><br />
<p>.</p><br />
<p>.</p><br />
<p>..</p><br />
<p>.</p><br />
<p>&nbsp;</p><br />
<p>.</p><br />
<p>.</p><br />
<p>.</p><br />
<p>..</p><br />
<p>&nbsp;</td><br />
</tr><br />
</table><br />
</TD><br />
<TD COLSPAN="2" style="width: auto; height: 160" align="left" valign="top"><br />
<IMG NAME="highschool_layout4" SRC=http://www.htmlforums.com/archive/index.php/"highschool_layout_3x3.gif" WIDTH="183" HEIGHT="217" BORDER="0"></TD><br />
</TR><br />
<br />
<TR><br />
<TD style="width: auto; height: 55" align="left" valign="top"><br />
<IMG NAME="highschool_layout5" SRC=http://www.htmlforums.com/archive/index.php/"highschool_layout_4x1.gif" WIDTH="151" HEIGHT="62" BORDER="0"></TD><br />
<TD style="width: auto; height: 55" align="left" valign="top"><br />
<IMG NAME="highschool_layout6" SRC=http://www.htmlforums.com/archive/index.php/"highschool_layout_4x2.gif" WIDTH="26" HEIGHT="62" BORDER="0"></TD><br />
<TD style="width: auto; height: 55" align="left" valign="top"><br />
<IMG NAME="highschool_layout8" SRC=http://www.htmlforums.com/archive/index.php/"highschool_layout_4x4.gif" WIDTH="32" HEIGHT="62" BORDER="0"></TD><br />
<TD style="width: auto; height: 55" align="left" valign="top"><br />
<IMG NAME="highschool_layout9" SRC=http://www.htmlforums.com/archive/index.php/"highschool_layout_4x5.gif" WIDTH="151" HEIGHT="62" BORDER="0"></TD><br />
</TR><br />
<br />
<TR><br />
<TD WIDTH="151" HEIGHT="343" bgcolor="#000000"><br />
&nbsp;</TD><br />
<TD background="highschool_layout_5x2.gif" align="left" style="width: auto; height: 343" valign="top"><br />
&nbsp;</TD><br />
<TD background="highschool_layout_5x4.gif" align="left" style="width: auto; height: 343" valign="top"><br />
&nbsp;</TD><br />
<TD WIDTH="151" HEIGHT="343" align="left" valign="top" bgcolor="#000000"><br />
&nbsp;</TD><br />
</TR><br />
<br />
</TABLE><br />
<!-- End Table --><br />
<br />
</BODY><br />
</HTML><br />
<br />
Can anyone help me please?<!--content-->Yes......<br />
it is because you use rowspan and colspan.<br />
The images are on top of the cel, but this cel:<br />
<TD COLSPAN="2" style="width: auto; height: 160" align="left" valign="top"><br />
left<IMG NAME="highschool_layout2" SRC=http://www.htmlforums.com/archive/index.php/"highschool_layout_3x1.gif" WIDTH="177" HEIGHT="217" BORDER="0"></TD><br />
is growing if you put more content in the midlle part.<br />
<br />
So use a table in this cel:<br />
<TD COLSPAN="2" style="width: auto; height: 160" align="left" valign="top"><br />
left<IMG NAME="highschool_layout2" SRC=http://www.htmlforums.com/archive/index.php/"highschool_layout_3x1.gif" WIDTH="177" HEIGHT="217" BORDER="0"></TD><br />
and put the the images of the left part in here.<br />
<br />
The same at the right part.<br />
<br />
:rocker:<!--content-->thanks man, it worked. :D<!--content-->
 
Back
Top