Does the element goes out of the normal flow of the document? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Does the element goes out of the normal flow of the document?

When we give any div the position: absolute; does it go out of the normal flow of the document as in case of float.

17th Apr 2020, 7:00 PM
Dushyant Kumar Tyagi
Dushyant Kumar Tyagi - avatar
2 Answers
+ 4
It will be positioned relative to its nearest ancestors position.
17th Apr 2020, 7:26 PM
ChaoticDawg
ChaoticDawg - avatar
17th Apr 2020, 7:30 PM
ChaoticDawg
ChaoticDawg - avatar