how to adjust the height of middle td

liunx

Guest
i have a table which has three tds.<br />
the left and right side tds have some text content which comes from db.<br />
the middle td contain two images one below the other and has a bgcolor.<br />
so i have to adjust the middle td height so that it will match the heights of the left and right tds..<br />
<br />
the middle td is ..<br />
<br />
echo "<td valign=top align=center>" ;<br />
<br />
echo "<table border=\"0\" bordercolor=\"green\" cellspacing=\"0\"<br />
cellpadding=\"0\" bgcolor=\"CCCC99\" align=\"center\">" ;<br />
echo "<tr><td colspan=3 height=2>&nbsp;</td></tr>" ;<br />
echo "<tr>" ;<br />
echo "<td>&nbsp;</td>" ;<br />
echo "<td><img src=http://www.htmlforums.com/archive/index.php/\"images/center1.gif\" width=\"88\" height=\"134\">" ;<br />
echo "</td><td>&nbsp;</td></tr>" ;<br />
echo "<tr><td colspan=3 height=2>&nbsp;</td></tr>" ;<br />
echo "<tr>" ;<br />
echo "<td>&nbsp;</td>" ;<br />
echo "<td><img src=http://www.htmlforums.com/archive/index.php/\"images/center2.gif\" width=\"88\" height=\"125\">" ;<br />
echo "</td><td>&nbsp;</td></tr>" ;<br />
echo "<tr><td colspan=3 height=2>&nbsp;</td></tr>" ;<br />
echo "</table>"<br />
<br />
pls help<br />
<br />
tonto<!--content-->put height=100% in the table tag.<!--content-->thanks scoutt!!<br />
<br />
i made height=10% in table tag but i also had to mention the height of td(which contains the table) = 100% and its ok now..<br />
<br />
tonto<!--content-->
 
Back
Top