Closed Bug 19946 Opened 25 years ago Closed 25 years ago

Table not centered in other table

Categories

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

x86
Other
defect

Tracking

()

VERIFIED DUPLICATE of bug 1044

People

(Reporter: richard, Assigned: pierre)

References

()

Details

(Whiteboard: [TESTCASE])

Attachments

(3 files)

On this login page to our company intranet, the cell of the outer table specifies align="center", but the inner table does not appear in the center of the cell, but on the left.
Attached file XHTML testcase (deleted) —
Attached file HTML testcase (deleted) —
Whiteboard: [TESTCASE]
The XHTML testcase shows the bug; after removing the DOCTYPE it works fine, see HTML testcase. (Using build 2000022916 on NT4.0 sp5)
This bug may be related to bug 1802: "[4.xP]<tr align=left/right/center> not working", ASSIGNED. In that bug report <td> cells are not inheriting alignment from parent <tr> elements; in this case it is an inner table that is not inheriting alignment from a parent <td> cell. Of course this could be just a red herring. Added another xhtml testcase, with a paragraph added inside the outer table. The paragraph is centered properly, but the inner table isn't. Tested with: 1999-12-08-08-M12 nightly binary on Windows NT 4.0sp3
Assignee: karnaze → pierre
Reassigning to Pierre.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
It's a dup of bug 1044, not bug 1802. The inner table doesn't inherit the style from it's surrounding element which happens to be a cell of the outer table. The problem would have been the same if the outer element had been something else, A DIV for instance as described in bug 1044. *** This bug has been marked as a duplicate of 1044 ***
Status: RESOLVED → VERIFIED
Verified dup of #1044
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: