Forums

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

Home Forums CSS [Solved] Negative TOP problem Reply To: [Solved] Negative TOP problem

#171377
redraw
Participant

@Paulie_D thanks! That example is very clear. I had forgotten that relative positioning “saved” the space, whereas margin “moved” it.
Negative margin had worked for me, but only in Chrome. I don’t know why it doesn’t work well inside Firefox or IE.


@wolfcry911
thanks! I’ve solved it by moving up the #main-content div by the same amount. It is not very pretty, but now is cross-browser compatible.