| hoffmandirt |
Jun 22nd, 2006 5:56 PM |
100% Table Height using Firefox
This is more of a tip for anyone who is interested. I just spent quite awhile trying to figure out why I could not get 100% table height on an ASP.NET form in Firefox using the standard fix which works on a standard webpage.
:
html,body{
margin:0;
padding:0;
height:100%;
width:100%;
}
table
{
height: 100%;
}
This is why. The form itself needs to be set to 100% height also.
html,body,form {
margin:0;
padding:0;
height:100%;
width:100%;
}
table
{
height: 100%;
}
I hope this helps.
|