Sohaib Akhter
Sohaib Akhter

Reputation: 45

Logo Absolute Positioning not working on firefox and IE

I'm trying to make a website ( http://www.beautracare.com/ ) and the logo looks just fine on Chrome but not on the latest versions of IE and Firefox. It seems to be the popular float bug, but I put it on a different z-index. Why is this not working!? thanks,

Upvotes: 0

Views: 77

Answers (1)

dejakob
dejakob

Reputation: 2092

Add

top: 0;

to #logo {}

When you position something absolute, it's mostly better to give it a left/top/bottom/right-value because otherwise the browser doesn't know what to do.

Upvotes: 1

Related Questions