Absolute Position of Div Layer

Case 3: Contained inside a div layer with Absolute Position

Line 1

Line 2

Line 3

Line 4

outerWrapper with absolute position
Div layer id "layer1" with Absolute Position

In this example, layer1 is contained inside a div layer with absolute position (outerWrapper). Now the position property will be aligned according to the right top corner of the outerWrapper div layer.

Line 5

Line 6

Line 7

Line 8

Line 9: This is the example 3 of Div Layer Absolute Position




Return to Div Layer Absolute Position Tutorial