[Javascript] Table height in Mozilla
Håkan Magnusson
hakan at backbase.com
Thu Apr 1 02:30:30 CST 2004
Add this to your stylesheet:
body, html {
height: 100%;
margin: 0;
}
In Mozilla, the body height is the content height, so "100%" does not
mean "100% of my viewport window" but "100% of my body content".
Peter Brunone wrote:
> This isn't specifically a Javascript question, but I hoped
> somebody here would have a quick answer. In IE, when I want my table to
> fill the page, I set the height attribute equal to "100%" and it
> stretches from the top of the window to the bottom (unless the content
> makes it longer).
> In Mozilla, however, my table shrinks vertically to fit the
> content. The URL is
>
> http://stage.easylistbox.com/
>
> What am I missing?
>
> Cheers,
>
> Peter Brunone
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
More information about the Javascript
mailing list