Footer position issue in Firefox and IE7
-
This issue has really got me stumped. My footer is perfectly placed in IE8, Chrome and Opera, however when it comes to IE7 and Firefox, the footer is no longer anchored to the bottom of the page and instead hovers.
Trying to use any position/margin css codes just causes the page to extend,
I’m assuming its an issue with my <body> or <html> heights but both are set to 100% so I’m stumped.
I’ve got some comparison screenshots for you: chrome and firefox.
And here the relevant pieces of code (this is on a local servers so I can’t give access).
html { height: 100%; } body { background: url(Images/bg_colour.png) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; font-family:Arial, Helvetica, sans-serif; font-size: 12.14px; height:100%; } .clear { clear:both; } #pagewrap { width: 960px; height:100%; margin: 0 auto; } #footer {float: left; width: 955px; height: 140px; margin-top: 40px; background:url(Images/Footer.png) no-repeat; padding-left: 5px; text-align: left;}
Excuse the messiness, I’m still an amateur CSS coder.
Here is the Footer.php code (not sure if its of any use)<div class:"clear"></div> <div id="footer"> <?php /** * The template for displaying the footer. * * Contains the closing of the id=main div and all content * after. Calls sidebar-footer.php for bottom widgets. * * @package WordPress * @subpackage Starkers * @since Starkers 3.0 */ ?> <?php /* A sidebar in the footer? Yep. You can can customize * your footer with four columns of widgets. */ get_sidebar( 'footer' ); ?> <div id="copyright"> <a href="https://localhost/wordpress/" title="Hit more.Miss Less" rel="generator">2012 Luk Gaming All Rights Reserved</a> </div> <?php /* Always have wp_footer() just before the closing </body> * tag of your theme, or you will break many plugins, which * generally use this hook to reference JavaScript files. */ wp_footer(); ?> </div> </div> <!---- Page Wrap ended ----> </body> </html>
Any help would be great!
- The topic ‘Footer position issue in Firefox and IE7’ is closed to new replies.