Tutorials Bugs Masterclass Free stuff Test pages Proposals

Core tests

Advanced tests

This test

RichInStyle.com test pages: tables - margins

This table, which has margin: auto and width: auto, should be centered:

Center me, please.

This table, which has margin: auto and an explicitly CSS-set width, should be centered:

Center me, please.

This table, which has margin: auto and an explicitly HTML-set width, should be centered:

Center me, please.

This table, which has margin-left: auto and margin-right: 0, should be right-aligned:

Center me, please.

This table, which has margin-right: auto and margin-left: 0, should be left-aligned:

Center me, please.

This table, which has margin-right: auto and margin-left: 50%, should have its left border edge at the center of the containing block:

Center me, please.

Some intervening content.

This table cell has a 100 pixel margin, which should have no effect at all. This table cell has a 100 pixel margin, which should have no effect at all.

Some intervening content.

This table row has a 100 pixel margin, which should have no effect at all.
This table row has a 100 pixel margin, which should have no effect at all.