The test here is that inline box model properties are placed around the element without increasing the vertical space that it occupies.
This element should have 30 pixels of red padding. This red padding should spill out of the element - it should not increase the amount of vertical space that the element occupies.
Dummy content onto which the padding can overflow.
This inline-level element has a 100px vertical and 0 horizontal margin. Since margins are transparent, the element should look perfectly normal.
Some text. This should have a border. The border should be closed at the left of the top line that it spans and at the bottom of the right. However, it should not be closed at any point in between. Here's some more text. Here's some more text. Here's some more text. Here's some more text. Here's some more text. Here's some more text. Here's some more text. Here's some more text.
There should be a whole load of (white) margin here: Some text
There should be a whole load of (red) padding here: Some text.
Copyright © RichInStyle.com 2000; all rights reserved. See copyright document for terms of use. Please visit Bukit Lawang flood appeal.