Absolute Positioning

The red block is positioned absolutely using coordinates of 200 pixels from the top, and 200 pixels from the left.

The yellow block inside is positioned 20 pixels from the top of its parent element, and 20 pixels to the left.

Source: Ian Lloyd.

«Go back to the previous page.