Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to close a gap Reply To: How to close a gap

#243264
Paulie_D
Member

No, it’s not.

That’s the way relative positioning works. The page remembers where it was and allocates that space as though the element was still there.

I’d use (negative) margin.

I made a demo explaining the differences a while ago.

http://codepen.io/Paulie-D/pen/IuLfJ