Auto Vertical Margins Test

This page has the following styles:

P.ex	{margin-top: auto; margin-bottom: auto; padding-top: 0; padding-bottom: 0;}

There should be no margin between this paragraph and the next, because according to the CSS2 Spec, Section 10.6.3, if margin-top or margin-bottom have the value auto, then they become zero.

This is the next P element.

Valid HTML 4.0!

(Back to Browser Testing Information, David Baron)