height=100% possible ways to do?

by "Arcady"<arcady(at)jps.net>

 Date:  Thu, 17 Feb 2000 00:57:57 GMT
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
Hello;

	I have a nested table of one color inside a table of another....

Is there anyway to get the inside talbe to always have a height that completely
fills the cell it occupies? With that cells height determined by the content
in other cells of the master table?

such as:

<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" bgcolor="#999999"><TR><TD
class="midgrey" bgcolor="#999999">
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="0" bgcolor="#999999">

	<TR>
		<TD width="29" valign=top bgcolor="#CCCCCC">
			<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width="100%">
				<TR>
					<TD BGCOLOR=#FFFFFF COLSPAN=2>
						<IMG ALT="" SRC="images/spacer.gif" WIDTH=1 HEIGHT=1></TD>
					<TD ROWSPAN=2 class="darkgrey" bgcolor="#666666" width=1>
						<IMG ALT="" SRC="images/spacer.gif" WIDTH=1 HEIGHT=18></TD> <!-- HEIGHT=5+(13*number
of lines) -->
				</TR>
				<TR>
					<TD ROWSPAN=2 BGCOLOR=#FFFFFF width=1>
						<IMG ALT="" SRC="images/spacer.gif" WIDTH=1 HEIGHT=1></TD>
					<TD ALIGN="center" VALIGN="middle" BGCOLOR=#CCCCCC class="lightgrey" width="100%"><A
HREF="1.html" >&nbsp; 1 &nbsp;</A></TD>
				</TR>
				<TR>
					<TD class="darkgrey" bgcolor="#666666" COLSPAN=2>
						<IMG ALT="" SRC="images/spacer.gif" WIDTH=1 HEIGHT=1></TD>
				</TR>
			</TABLE>
		</TD>
		<TD bgcolor="#FFFFFF">&nbsp;</TD>
		<TD bgcolor="#FFFFFF">&nbsp;</TD>
		<TD bgcolor="#FFFFFF">&nbsp;</TD>
		<TD bgcolor="#FFFFFF">&nbsp;</TD>
		<TD bgcolor="#FFFFFF">&nbsp;</TD>
	</TR>
</TABLE>
</TD></TR></TABLE>



If the content of one of those &nbsp; lines ends up being several lines tall
I need the '1' table to stretch it's height to fill...

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA