Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Dec 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    IE not displaying properly like firefox

    Hello,

    I am having a major layout issue on some of my pages where the right column looks unformatted and messy. This only appears like this when viewing in IE. Firefox looks fine.

    Here is an example webpage.
    http://www.icsworld.com/Private_Inve...rprinting.aspx

    Please help. I need to fix this ASAP

  • #2
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    Quote Originally Posted by scheric1 View Post
    Hello,

    I am having a major layout issue on some of my pages where the right column looks unformatted and messy. This only appears like this when viewing in IE. Firefox looks fine.

    Here is an example webpage.
    http://www.icsworld.com/Private_Inve...rprinting.aspx

    Please help. I need to fix this ASAP
    It's cliche, but often true...The best place to start when you get different renderings between browsers is the HTML validator. Currently, your page shows 40 errors and 17 warnings:

    http://validator.w3.org/check?uri=ht...ss=1&verbose=1

    Most of those listed issues are pretty straight-forward to fix (at a glance, a lot of them look like &'s needing to be encoded as &). Some of them are a result of the garbage code provded by social media buttons. I would go ahead and remove those social media buttons for the time being (comment them out at least).

    Get a clean validator response in your page and then re-check the page in each browser and see if your problem persists or has evolved. Then, once we have a clean page to work with, we can adjust your CSS if/where it is needed.
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting

  • #3
    New to the CF scene
    Join Date
    Dec 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the reply. However most of the errors your specifying I do not think are actually affecting the website.

    For example look at our test site with the same page:
    http://www.icsworld.com:8888/Private...rprinting.aspx

    Both main template pages are identical containing the third column. Yet the test site renders the sidebar perfectly fine and the live site does not.

    The CSS are also identical files for both.

    Any ideas?

  • #4
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    You are comparing renderings of two pages that are not identical in their structure, so the fact that they don't match in IE is somewhat meaningless.

    Check this out for your test page (38 errors and 17 warnings):

    http://validator.w3.org/check?uri=ht...ss=1&verbose=1

    Your "live" version (now down to 39 errors and 17 warnings) has one more error than your test version. Something is different between the two of them. It might not be this extra error that is causing your problem in IE, but this certainly points out that you are not comparing apples to apples in this case.

    You can see this plainly just by looking at the number of lines of code in the source. You have 8 more lines of code in the "live" version than you do in the "test" version, and even among the lines existing in both versions, you have differences in your source code (beyond content differences and changes to some href attributes). On a quick pass through I noticed some empty or improperly nested paragraph elements and some <td> elements missing classes in one version but not in the other. And I pretty much decided to bail out at that point. You will need to dig through the 1,235 lines of code on your own to find which 8 have been added, and which of the rest have been changed enough to break your layout. Or...you can validate your live page and then adjust it if/where needed once the HTML is clean...and you can totally disregard your test version all the while.

    So: I still recommend you validate first, then clean out your code remnants (of which there are more than a few), and then see if things still look out of place in the render once the code is clean. If you're not up for that I won't complain...but in that case I won't really be of any further use to you.
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting


  •  

    Tags for this 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
    •