Closed Bug 20453 Opened 25 years ago Closed 25 years ago

Non-width assigned column doesn't scale if empty.

Categories

(Core :: Layout: Tables, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 19961

People

(Reporter: kirwin, Assigned: karnaze)

References

()

Details

This is a problem with Netscape 4.0 as well as mozilla, but not with IE.

<table>
  <tr>
    <td width="75"><p>A menu</td>
    <td><p>A very short line, or no text at all.</td>
    <td width="100"><p>Another menu.</td>
  </tr>
</table>

In NETSCAPE 4.X, if the middle column (no width designated) does NOT contain
enough text to be wrapped when the table is rendered, the columns get messed up
in such a way as to suggest that the middle column is not filling up the space
between the two fixed with columns.

The solution is to set the middle column to "100%" which forces the middle to
fill out regardless of contents.

HOWEVER, in MOZILLA (build something like around November 29th), putting this
"100%" in the middle column makes the middle column take over the rest of the
width, shoving the third column out beyond the scroll bar.

I'm not sure this is a bug in Mozilla, or in Netscape 4 (which is definitely
is), but I am certain that in IE4 and IE5, not having a width designation or
using "100%" between two fixed width columns both work.

If you load up: http://www.keithirwin.com/cwc, things seem to work.  If you then
follow it up with the URL I included above, things don't work.  Then if you go
back to www.keithirwin.com/cwc, it doesn't work anymore either.

Hope this helps somewhere somehow.

-K
Oh, and I should mention that without that "100%" on the middle column, Mozilla
renders the code just fine (at least as far as my pages on
http://www.keithirwin.com/cwc).  So, really, I'm asking for the hack we need in
order for Netscape browsers to work to also work in Mozilla, as it does in IE.
Thanks.
Status: NEW → ASSIGNED
Target Milestone: M15
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 19961 ***
Status: RESOLVED → VERIFIED
this bug is a dup of bug 19961.  I read both and agree with the last comment.
Marking as verified.
You need to log in before you can comment on or make changes to this bug.