D
D_W
Hi, Quick question.
I have a .net page that uses css styles and frames.
the menu needs a border around and I have it in a table with a border
so
html, body and form all have style=height:100%
I also put the style height:100% on the table.
It works nice in I.E as usual but in firefox the table gets bigger
than the screen by a few pixels creating a scroll bar..
any solution to this?
*CODE
<!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" >
<body id="bodytag" topmargin="0" bottommargin="0" rightmargin="0"
onload="initMenu();">
<form name="form1" method="post" action="menu.aspx" id="form1">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
value="[CUT]" />
</div>
<table width="170" cellpadding="0" cellspacing="0" style="border:
solid 1px #000000; height:100%;">
<tr>
<td valign="top">
CONTENT OF MENU
</td>
</tr>
</table>
</form>
</body>
</html>
AND HERE IS THE CSS
html {height:100%;}
body { height:100%; }
form { height:100%;}
I have a .net page that uses css styles and frames.
the menu needs a border around and I have it in a table with a border
so
html, body and form all have style=height:100%
I also put the style height:100% on the table.
It works nice in I.E as usual but in firefox the table gets bigger
than the screen by a few pixels creating a scroll bar..
any solution to this?
*CODE
<!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" >
<body id="bodytag" topmargin="0" bottommargin="0" rightmargin="0"
onload="initMenu();">
<form name="form1" method="post" action="menu.aspx" id="form1">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
value="[CUT]" />
</div>
<table width="170" cellpadding="0" cellspacing="0" style="border:
solid 1px #000000; height:100%;">
<tr>
<td valign="top">
CONTENT OF MENU
</td>
</tr>
</table>
</form>
</body>
</html>
AND HERE IS THE CSS
html {height:100%;}
body { height:100%; }
form { height:100%;}