I have a problem about div position relative alignment.
I want the second div to be fixed in position even if I remove the first div.
The problem is that the second div adjusts its position when the first div is removed.
My question is how can I retain the position of the second div even if I remove the first div? Thanks :)
This code:
div-1
div-2
Will output:
Then if the first div is removed, the second div adjusts its position.
This code:
div-2
Will output: