0
is position:absolute and display:block the same?
i think these 2 do the same work?
1 Odpowiedź
+ 1
No the are totally different.
display: block; makes an html element take all the available space , to be simple block elements stand in one line nothing can stand in front of them.
In the other hand
position: absolute; remove an element from the normal flow;