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


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.