[Javascript] Table height in Mozilla

Flavio Gomes flavio at economisa.com.br
Thu Apr 1 14:34:00 CST 2004


It seems to work fine here..
But when I set style.display=inline it stopped working

----- Original Message ----- 
From: "Peter Brunone" <peter at brunone.com>
To: "'[JavaScript List]'" <javascript at LaTech.edu>
Sent: Thursday, April 01, 2004 5:08 PM
Subject: RE: [Javascript] Table height in Mozilla


>
> No effect in Netscape 7.1 or Mozilla 1.5.
>
> Adding height:100% to the style attribute of the master table
> didn't help either; this is so weird.
>
> -----Original Message-----
> From: javascript-bounces at LaTech.edu On Behalf Of Håkan Magnusson
>
> 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
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.647 / Virus Database: 414 - Release Date: 29/3/2004
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20040401/4c962474/attachment.htm>


More information about the Javascript mailing list