Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   ASP.NET (http://www.programmingforums.org/forum35.html)
-   -   100% Table Height using Firefox (http://www.programmingforums.org/showthread.php?t=10492)

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.

Pizentios Jun 23rd, 2006 10:12 AM

added code tags.

DaWei Jun 23rd, 2006 10:34 AM

:D :cool:


All times are GMT -5. The time now is 7:58 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC