


If one block-level element sits inside another block-level element then the outer box is known as the containing or parent element.
3- Absolute positioning : This positions the elementin relation to its containing element. It is taken out of normal flow. Absolutely positioned elements move as users scroll up and down the page.

1- Floating Elements : Floating an element allows you to take that element out of normal flow and position it to the far left or right of a containing box.

The clear property allows you to say that no element (within the same containing element) should touch the left or righthand sides of a box.

2- Overlaping Elements When you use relative, fixed, or absolute positioning, boxes can overlap. If boxes do overlap, the elements that appear later in the HTML code sit on top of those that are earlier in the page. If you want to control which element sits on top, you can use the z-index property. Its value is a number, and the higher the number the closer that element is to the front.


