jake_burkart — 2012-07-09T16:05:00-04:00 — #1
Just built a WordPress site for a client. Used a template with a Nivo slider. In Firefox, the slider is pushed off to the right of the page by 960 pixels. The slider is placed properly in IE, Chrome, and Safari. The site is www.bioshieldsystem.com. Any ideas?
kohoutek — 2012-07-09T16:10:09-04:00 — #2
You'll likely just need to clear floats.
jake_burkart — 2012-07-09T16:13:21-04:00 — #3
Thanks, that works. I don't get why it would only be acting this way in Firefox though.
ralphm — 2012-07-09T20:00:51-04:00 — #4
Each browser calculates pixels sightly differently. In the case of Firefox, the slider was just snagging on the header elements by a pixel or two, because it has calculated the heights of those elements slightly differently. Another way to fix the issue is to add overflow: hidden to the header: