HTML & CSS
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?
You'll likely just need to clear floats.
Thanks, that works. I don't get why it would only be acting this way in Firefox though.
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:
This topic is now closed. New replies are no longer allowed.