Relative Position of Div Layer

Case 2: Set position property to the div layer

Line 1:

Line 2:

Line 3: The div layer is created under this line.

Div layer id "layer1" with Relative Position

Top - 50 px
Left - 100 px

The position of the div layer will be aligned according from where it is created.

Line 4: This is the line just below the div layer

Line 5:

Return to Div Layer Relative Position Tutorial