![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
|
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%;
}Last edited by Pizentios; Jun 23rd, 2006 at 9:12 AM. |
|
|
|
|
|
#2 |
|
Programming Guru
![]() ![]() |
added code tags.
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
|
|
#3 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
![]()
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|