Anas
Anas

Reputation: 876

Safari wrong margins - working fine in Chrome & FF

I have a problem with some divs on Safari, the margins are completely messed up.

The weird part is that it works perfectly fine on Chrome & Firefox. If I implement a fix made especially for Safari, it gets messed up on the others.

Help ?

Thanks !

Upvotes: 0

Views: 590

Answers (2)

Steve
Steve

Reputation: 8640

The problem is caused by a missing left declaration. Add this to your CSS:

#pull_link {
    left: 50%;
}

Upvotes: 3

Kip Deeds
Kip Deeds

Reputation: 53

You may have a small error/errors in your code that is tripping you up (e.g. perhaps you are missing a closing tag that would cause container collapse and then your clear fix is not working). Check safari developer tools against chrome developer. You should be able to locate the problem that way. Sometimes one browser will function with an error another will not. Without more information it is hard to be conclusive here. Have you tried w3c validating the html http://validator.w3.org/ ? You can catch missing syntax that way also.

Upvotes: 1

Related Questions