html - Using Layers (z-index) without leaving empty space -
I have a code above
& lt; Div & gt;
is to be inserted. I managed to do this, but the problem is that now I have an empty place where there was a divis.
I gave Goddess status to relative and left & amp; Top price
Is it possible to move objects with z-indics without leaving any mark in the page? (Take space and leave blank area) ??
Thanks
When you positon: relative;
, then you are not removing the element from the flow, you are only taking it from its original position to exclude the element from the flow: Status: Absolute;
.
When full state is used, then coordinates are first relative to the original element, which is a layer. You may want to apply the original element to the position: relative
(but not offset) to make it a layer, so that the coordinates are relative to parents, not the body.
Comments
Post a Comment