[Javascript] Table height in Mozilla

davecline at onebox.com davecline at onebox.com
Thu Apr 1 14:41:19 CST 2004


Try putting this just below your first table declaration:

<tr><td rowspan="2" height="100%"></td><td></td></tr>


-- 
Dave Cline
davecline at onebox.com
www.bangeye.com/
801-636-5603




-----Original Message-----
From:     Peter Brunone <peter at brunone.com>
Sent:     Thu, 1 Apr 2004 14:08:25 -0600
To:       "'[JavaScript List]'" <javascript at LaTech.edu>
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





More information about the Javascript mailing list