Results 1 to 5 of 5

Thread: 2 footer alignment problems

  1. #1
    Join Date
    Jul 2008
    Location
    boston, ma
    Posts
    88
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default 2 footer alignment problems

    In FF on PC this page looks great. But in IE7 on PC, there is a huge gap from the bottom of the maincontent and the footer. I can't figure out why.
    I need the footer to go with the flow of the copy, since the length of pages will change.

    Second,
    In FF on PC, this page and all the linked pages under Press toolkit section, have a gap from the right sidebar to the footer. Also the links in the footer are pushed to the far right. The gap differs bwt the pages. I have looked at this for 2 days, and can't fix it. This is the only section that's doing it, the other pages I have created are fine in FF.

    Please HELPP!!!

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    This is the answer to your first question.
    Change:
    Code:
    <!--[if IE]>
    <style type="text/css"> 
    /* place css fixes for all versions of IE in this conditional comment */
    #header  h2 { top: 0px ; }
    #mainContent { top: auto;
    			   bottom: 466px;
                   height:auto; }
     
    #footer {
        top:0px;
        height: 28px;
        width: 995px; } 
    #footer p { right: 330px; }
    #nav { right: 124px; 
    	   z-index: 100; }
    </style>
    <![endif]-->
    To this:
    Code:
    <!--[if IE]>
    <style type="text/css"> 
    /* place css fixes for all versions of IE in this conditional comment */
    #header  h2 { top: 0px ; }
    #mainContent { top: auto;
    			   bottom: 466px;
                   height:auto; }
     
    #footer {
        padding: 0px;
        margin: 0px;
        top:0px;
        height: 28px;
        width: 995px; } 
    #footer p { right: 330px; }
    #nav { right: 124px; 
    	   z-index: 100; }
    </style>
    <![endif]-->
    Last edited by Nile; 07-24-2008 at 09:45 PM.
    Jeremy | jfein.net

  3. #3
    Join Date
    Jul 2008
    Location
    boston, ma
    Posts
    88
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Hey Nile,
    Thanks for your response, but it still doesn't seem to be working!
    Any other thoughts?

    Thanks

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Change:
    Code:
    #mainContent { top: auto;
    			   bottom: 466px;
                   height:auto; }
    In the above code to:
    Code:
    #mainContent { top: auto;
    			   bottom: 466px;
                   height:auto;
    margin-bottom: -500px; /*keep adding or subtracting digits from here until its good. */
    }
    Jeremy | jfein.net

  5. #5
    Join Date
    Jul 2008
    Location
    boston, ma
    Posts
    88
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Brilliant!!!
    Thank you so much!

    Any thoughts on the gap before the footer in FF??

    Thanks

Bookmarks

Posting Permissions

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