I have read a few stackoverflow post about position:absolute without top/right/left/bottom. Post 1 Post 2 Post 3
They all give similar answers. which is that an element with position:absolute without top/right/left/bottom would
- 1.The element will be out of normal flow of the web document (the is very clear) 
- 2.It remains in the static position, which basically means its usual spot in the layout had it not been positioned at all. 
I can find an example in which point 2 seems doesn't hold. Consider the following example: Absolute position example Static position example
The only difference between these 2 example is that one has position: static for h2 tag while another one has position: absolute for h2 tag. By comparing two examples, the h2 tag with position: absolute is positioned slightly lower thn that of position: static. I am confused because if point 2 is true, the h2 tag in both examples should be positioned in the same position .
Could anyone kindly explain to me why the h2 tags are not in the same position? And how does the position:absolute function without top/bot/left/right ?
.
Could anyone kindly explain to me why the h2 tags are not in the same position? And how does the position:absolute function without top/bot/left/right ?
