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

Home Forums CSS [Solved] Unwanted top margin in Firefox Re: Unwanted top margin in Firefox


We’d need to see a link to be sure but IIRC it’s related to the top margin you have set not having (in effect) anything to push against so it pushes itself away.

The simplest method, as you say, is to add padding but since you don’t want to do that, give the container a top border of 1px solid transparent or whatever color you want.

That should do it and it’s practically invisible.