Skip navigation
Ziggizag
Currently Being Moderated

URGENT !!! - unwanted padding-top in IE but not in FF - HELP !!!

Aug 22, 2009 6:33 AM

Hi guys - please help me urgently!

 

The attached page is self-explanatory. This is regular 2-columns setup: main content, right sidebar, header and footer. Right sidebar is floating DIV element. Whatever is inside it is positioned well in Firefox but is moved down some 30 pixels in Internet Explorer (I have IE 8). This inconsitency is very frustrating.

 

Any ideas how to fix this nasty issue?

I need to complete the stuff today !

 

Thanks ahead,

Ziggi

 

Page in Firefox 3.5

FF.gif

Page in Internet Explorer 8

IE.gif

Attachments:
 
Replies
  • Currently Being Moderated
    Aug 22, 2009 7:03 AM   in reply to Ziggizag

    Well, it is really not all that self explanatory, you should post a link to the page so people can see the code.

     

    My guess is that the right column has an <h2> tag that may be adding margin to it. You can try this, but again a guess

     

    <h2 style="margin:0;">

     

    Or post the link.

     

    Gary

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 22, 2009 7:15 AM   in reply to Ziggizag

    The answer is in your code. You have:

     

    
    <![endif]--><!--[if IE]>
    
    <style type="text/css"> 
    
    /* place css fixes for all versions of IE in this conditional comment */
    
    .twoColFixRtHdr #sidebar1 { padding-top: 30px; }
    
    .twoColFixRtHdr #mainContent { zoom: 1; }
    
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    
    </style>
    
    <![endif]-->
    
    
    

     

     

    This conditional adds a top padding in the sidebar if you're in an IE browser. This may have been a hack to fix earlier versions' rendering.

     

    Take out the conditional style (or change it) to see if that is what is causing the 30 px drop.

     

    Beth

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 22, 2009 7:24 AM   in reply to Ziggizag

    I'm sorry, I did not see that you have attached the code.

     

    Gary

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 22, 2009 7:29 AM   in reply to Ziggizag

    Sure thing!

     

    Beth

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 22, 2009 9:31 AM   in reply to Zabeth69

    I liked it better with the text down a bit

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 22, 2009 9:46 AM   in reply to Kath-H

    Perhaps, but at least Ziggi will be able to apply spacing/padding as desired instead of having it wrested out of control...

     

    Beth

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 22, 2009 12:02 PM   in reply to Zabeth69

    Oh, of course. Just commenting on the look.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 22, 2009 12:07 PM   in reply to Kath-H

    I agree

    B

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 4, 2010 1:12 PM   in reply to Zabeth69

    Beth-

    You rock!

    I've been trying to solve this problem for hours.

    Thanks so much!!!

    And, Geaux Saints!

    Greg in New Orleans

    (3 days until Superbowl)

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 4, 2010 1:30 PM   in reply to geeceeart

    Always happy to help!

    Beth

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points