Center a DIV on a page

This example shows how a splitter container can be used as a layout tool.

This DIV, which has a size of 400x400px, is centered horizontally and vertically on the page.

The four margins will shrink or enlarge as needed. However, they have a minimum size of 50px. So the center DIV will start to shrink if the margins reach their minimun size.