Re: netscape bug?

by "W. Jeffrey Rankin" <jrankin(at)jeffr.net>

 Date:  Sun, 3 Dec 2000 10:22:27 -0500 (EST)
 To:  Ed Lazor <osmosis(at)atfantasy.com>,
hwg-style(at)hwg.org
 In-Reply-To:  atfantasy
  todo: View Thread, Original
I tried this:

<table style="width: 300px; height: 500px;">...
  <table style="width: 100%; height: 100%;">...

This worked fine in IE5.5, but behaved the same as you described in
Mozilla M18.

What about something like this:

<table style="width: 300px; height: 500px;">...
  <table style="width: 290px; height: 490px;">...

This seems to work fine in both.

To answer your question, though, it would seem like this is a bug. It's
actually a pretty longstanding bug, as Netscape 4.x does it as well.

Good luck!
- Jeff

===================================================
Jeff Rankin	jrankin(at)jeffr.net

http://www.jeffr.net/

Be Valid To Be Cool
===================================================

On Sat, 2 Dec 2000, Ed Lazor wrote:

> If you create a table with a height of 500 and put a second table inside of 
> it with a height of 100%, the second table should end up with a height of 
> 500 minus any cellspacing, cellpadding, etc. from the surrounding table.
> 
> The code listed below works in IE, but not in Netscape.  Netscape makes the 
> inner table tall enough to hold the content and appears to ignore table, 
> row, or cell height specifications.  Is this a Netscape bug?  Is there a 
> work around?
> 
> -Ed
> 
> 
> <table height=500 width=300><tr><td bgcolor=black valign=top>
> 	<table height=100% width=100%><tr><td bgcolor=white>testing</td></tr></table>
> </td></tr></table>
> 
> 

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.