Closed Bug 327277 Opened 20 years ago Closed 20 years ago

Tables & Margins: margin collapse not occuring

Categories

(Core :: Layout: Tables, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 87277

People

(Reporter: ornsman, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Hello all, I'm afraid that Mozilla is not collapsing top & bottom margins on tables. Please follow the link for an example. You will see there a div container (coloured light-grey) that contains a number of tables (3), one after the other. Each table has a 10px margin both on the top and on the bottom. The gaps between the tables, therefore, should ony be 10px. Mozilla is displaying gaps of 20px. At present, I find I have to 'wrap' each table in a div, and specify the margin on that. This solves the problem but is an in-elegant workaround. Example: http://www.tradezone.ltd.uk/testsite/margins_example_2.htm Reproducible: Always
*** This bug has been marked as a duplicate of 87277 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Component: General → Layout: Tables
Product: Firefox → Core
Resolution: --- → DUPLICATE
Version: unspecified → Trunk
> *** This bug has been marked as a duplicate of 87277 *** This may be a duplicate, but that bug is dated-back over 4-1/2 years ago. I can't believe its still unresolved after all this time. how hard can it be to impart margin collapse on a table element?
Apparently, it's hard to fix. Note that there are even worse bugs that table code is suffering from.
You need to log in before you can comment on or make changes to this bug.