Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Location
    Pittston, PA
    Posts
    28
    Plugin Contributions
    1

    Default Center Footer Items In Firefox

    Hi,

    I currently in my footer I have my SSL Seals and some other links and images that I want to display. In IE 7 and IE 6 the items are displaying correctly and are centered in the middle of the page. When I view my page in firefox they are being aligned to the left. I tried a bunch of different things and no matter what I do they are still aligned left in firefox. Currently I have them setup using HTML and tables. Originally I started off just adding them into my banner manager and since the issue was still occurring I figured I would hard code them into my tpl_main_page.php file and that this may fix my issue. Currently that’s how it is configured and my issue is still remaining. I am mainly an IE user and I’m not sure if there is something else that I can do to make it display correctly in Firefox. If any one has any suggestions about how to resolve this issue it would be extremely welcomed.

    You can view it by going to:

    http://lotzofgifts.com

    Thanks for the insight!

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Center Footer Items In Firefox

    Add to your stylesheet:

    #siteinfoLegal+table {margin: auto;}

    This tells the table immediately following #siteinfoLegal to center itself in the space.
    IE6 won't understand this because it doesn't support adjacent selectors, so it will ignore it, but you say it is already centered so that's no problem. IE7 should understand and follow it, whether or not it is already centered.

    And just for the record, it is better to develop in Firefox and then adjust anything that needs it in IE, because FF follows the standards much better and has fewer bugs. If it works in Firefox, it is probably coded correctly, and fixing in IE means accounting for usually known bugs.
    IE may try to guess what you meant when you make an error, and cover up mistakes, so fixing that for Firefox means making erroneous code work.

  3. #3
    Join Date
    Aug 2007
    Location
    Pittston, PA
    Posts
    28
    Plugin Contributions
    1

    Default Re: Center Footer Items In Firefox

    That fixed it! Thanks a lot I appreciate the advice.

 

 

Similar Threads

  1. Align footer to center.
    By CHerbalist in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Mar 2014, 02:27 PM
  2. Center footer EZpages
    By mrtwelvevolts in forum General Questions
    Replies: 2
    Last Post: 4 Feb 2011, 11:29 PM
  3. firefox / safari missing footer
    By M.O.S. Studios in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Jul 2008, 07:23 AM
  4. Simply CANNOT center Logo in Firefox :(
    By kathsta in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 15 Jan 2007, 02:47 PM
  5. FireFox Display Off Center
    By alma in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Jun 2006, 10:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg