1.

Difference between absolute & relative

Answer» Relative Position:\xa0Setting the top, right, bottom, and left properties of an element with\xa0position: relative;\xa0property will cause it to adjust from its normal position. The other objects or elements will not fill the gap.Syntax:\xa0position: relative;Absolute Position: An element with position: absolute; will cause it to adjust its position with respect to its parent. If no parent is present, then it uses the document body as parent.Syntax: position: absolute;


Discussion

No Comment Found