Layout problem with Firefox

Internet Explorer displays my page correctly, but firefox and safari make a gap between two divs once I insert an image to the div belowit. May someone look hier and tell me what could be wrong?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ihbemd6rbAuthor Commented:
Sorry, I forgot to write the url of the site. It is here!
Ali KayahanFull Stack DeveloperCommented:
Hello ihbemd6rb:
     Try to add ;
     * {margin:0px;padding:0px}
ihbemd6rbAuthor Commented:
Hello Ali,
To which div tag should it add this property? I added it to the animation div and the nav (menu) div had already had it. BTW. it still doesn't work :-(
Amazing i that the same application works on my local host, but not on the production server ...
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Ali KayahanFull Stack DeveloperCommented:
you should directly add the line to the top of your page
ihbemd6rbAuthor Commented:
No, it doesn't work eighter. Do you use Web developer tool bar on FF?
Ali KayahanFull Stack DeveloperCommented:
   Did you try to add margin:0px to nav and animation classes
ihbemd6rbAuthor Commented:
{width: auto; height:23px; background-color: #c0c0c0; border: 1px solid #828282; padding:0; margin:0;}
{width: inherit; height:278px; background-color:Black; z-index: -10;padding:0; margin:0;}
This is the current status!
Ali KayahanFull Stack DeveloperCommented:
you should suffix px to margin add padding values, for ff
David S.Commented:
You've run into collapsing margins. IE5-7 often handle those incorrectly. The simplest fix would be to give ".animation" "padding: 1px 0".

More information:

> you should suffix px to margin add padding values, for ff

Units are only required for non-zero values.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.