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,

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top