Hello,
I have a page that has a 1-cell table set to 100%width by 100% height. Inside that I have something that needs to be in the absolute center of the page(another table with text and stuff). but the first table is not expanding to 100% height so the inner table shows up all the way to the top. What can the problem be? Below is my code. The page doesn't have much yet
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>RL Williams</title>
<link href="styles/generalStyles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><table width="760" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20"><img src="pics/tableBG_r2_c2.gif" width="20" height="20" /></td>
<td background="pics/tableBG_r2_c4.gif"> </td>
<td width="20"><img src="pics/tableBG_r2_c6.gif" width="20" height="20" /></td>
</tr>
<tr>
<td background="pics/tableBG_r4_c2.gif"> </td>
<td> </td>
<td background="pics/tableBG_r5_c6.gif"> </td>
</tr>
<tr>
<td><img src="pics/tableBG_r8_c2.gif" width="20" height="20" /></td>
<td background="pics/tableBG_r8_c4.gif"> </td>
<td><img src="pics/tableBG_r8_c6.gif" width="20" height="20" /></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
I have a page that has a 1-cell table set to 100%width by 100% height. Inside that I have something that needs to be in the absolute center of the page(another table with text and stuff). but the first table is not expanding to 100% height so the inner table shows up all the way to the top. What can the problem be? Below is my code. The page doesn't have much yet
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>RL Williams</title>
<link href="styles/generalStyles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><table width="760" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20"><img src="pics/tableBG_r2_c2.gif" width="20" height="20" /></td>
<td background="pics/tableBG_r2_c4.gif"> </td>
<td width="20"><img src="pics/tableBG_r2_c6.gif" width="20" height="20" /></td>
</tr>
<tr>
<td background="pics/tableBG_r4_c2.gif"> </td>
<td> </td>
<td background="pics/tableBG_r5_c6.gif"> </td>
</tr>
<tr>
<td><img src="pics/tableBG_r8_c2.gif" width="20" height="20" /></td>
<td background="pics/tableBG_r8_c4.gif"> </td>
<td><img src="pics/tableBG_r8_c6.gif" width="20" height="20" /></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>