Tutorials Bugs Masterclass Free stuff Test pages Proposals

Core tests

Advanced tests

This test

RichInStyle.com test pages: absolute containing blocks

No red should be visible to the left or top of this element.
This should be moved down 10 pixels (which should be red). The space behind the text should be entirely white.

Right percentage test

The two elements should meet in the middle of the yellow, the right of the red (right: 50%) and the left of the blue (margin-left: 300px (50% of the width of the containing block)).

 
As wide as to the right
As wide as to the left

Left percentage test

 
As wide as to the left
As wide as to the right