Home › Forums › CSS › [Solved] Negative TOP problem › Reply To: [Solved] Negative TOP problem
May 29, 2014 at 5:12 pm
#171377
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.