G
Guest
Hi!
I'm using VS 2005 and I can't desing a table with height="100%". With the
width=100% works ok, but the height always fit the controls inside the table.
This is an example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<table width="100%" height="100%">
<tr>
<td align="center" valign="middle">
<span>HI</span>
</td>
</tr>
</table>
</form>
</body>
</html>
This code in VS 2003 works.
The question is how to set a table height to fit the browser height.
Thanks
I'm using VS 2005 and I can't desing a table with height="100%". With the
width=100% works ok, but the height always fit the controls inside the table.
This is an example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<table width="100%" height="100%">
<tr>
<td align="center" valign="middle">
<span>HI</span>
</td>
</tr>
</table>
</form>
</body>
</html>
This code in VS 2003 works.
The question is how to set a table height to fit the browser height.
Thanks