Browsers and % body height
If you set your page’s body height to 100% and your window is 900 pixels high, you would expect your body to be 900 pixels tall. This seems to be supported in both IE and Firefox 1.0.7.
What about 200%? IE gets this right, Firefox says 3600! WTF.
Here’s a set of readings of the body.offsetHeight property:
| % | Firefox | IE |
| 100% | 900 | 900 |
| 110% | 1089 | 990 |
| 150% | 2025 | 1350 |
| 200% | 3600 | 1800 |
| 300% | 8100 | 2700 |
Not what I was expecting.
Trackbacks
Use the following link to trackback from your own site:
http://blog.craz8.com/trackbacks?article_id=browsers-and-body-height&day=17&month=11&year=2005