+ Reply to Thread
Results 1 to 5 of 5

Thread: IE7 Rendering My Page a Little Funky

  1. #1
    Join Date
    Nov 2006
    Location
    Austin, TX
    Posts
    1,729

    Default IE7 Rendering My Page a Little Funky

    If you look at www.ericbramlett.com in Firefox, it renders the correct way - if you open it in IE6 or IE7, the tables look like they're a little off. Any ideas on correcting this?

  2. #2
    Join Date
    Apr 2004
    Location
    Nanaimo
    Posts
    16,026

    Default Re: IE7 Rendering My Page a Little Funky

    Looks fine in IE 6 for me, I don't have IE 7 on my laptop sorry.
    Starting LEC 7 soon but it won't be called LEC 7 - LEC 2012 coming soon!

  3. #3
    Join Date
    Nov 2006
    Location
    Austin, TX
    Posts
    1,729

    Default Re: IE7 Rendering My Page a Little Funky

    I should have clarified. When you look @ it in firefox, the text next to the smaller bridge picture is flush w/ the picture. When you open it in IE, there's a big gap between the bridge picture & the text. Do you know how I can fix this?

  4. #4
    Join Date
    Oct 2006
    Location
    Bar Harbor, ME
    Posts
    7

    Default Re: IE7 Rendering My Page a Little Funky

    I can't see your style sheet file, but this usually happens because of the way IE6 handles padding (that is, the wrong way). To correct for IE6 not handling padding correctly you need some CSS code in your style sheet file to handle IE6 differently than compliant browsers. A good reference for this is "Stylin' With CSS" by Wyke-Smith. This book really made it all make sense to me. As to why IE7 doesn't show it right, I can't say. IE7 should have fixed this problem. Looks the same in Opera as in FF, though.

    I also see that you are using an XHTML DOCTYPE, but serving the content as text/html. IE6 chokes on this. You'd be better off using HTML 4.01. IE6 really doesn't know what to do with XHTML. Please see http://www.hixie.ch/advocacy/xhtml for a full explanation.

    The only other thing I can see is that the page fails validation, so some browsers will have a hard time interpreting your markup. The W3C Validator shows 84 errors. I have no idea if cleaning these up will help, but it can't hurt. The easy fix would be to change to HTML 4.01 Transitional.

  5. #5
    Join Date
    Nov 2006
    Location
    Austin, TX
    Posts
    1,729

    Default Re: IE7 Rendering My Page a Little Funky

    Thanks!

+ Reply to Thread

Posting Permissions

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