My Website is Perfect in Firefox But Garbage In Internet Explorer

8 replies
  • WEB DESIGN
  • |
Here is my site http://www.blowtorchbellyfat.com

It looks perfect in firefox but looks all messed up in internet explorer. How can my friend and I fix this?

He's not sure how to do this, he is the one doing a lot of the HTML and stuff.

Any help?
#explorer #firefox #garbage #internet #perfect #website
  • Profile picture of the author SteveJohnson
    First, fix all of the HTML errors. Run the site through a validator service like this: The W3C Markup Validation Service

    When you have the errors fixed, come back.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[2820532].message }}
  • Profile picture of the author icun
    Once you fix the HTML errors as per the W3C standard, it should look fine in both.

    Any differances between rendering in Firefox and IE usually come down to the CSS.
    {{ DiscussionBoard.errors[2820546].message }}
  • Profile picture of the author Peter⠀
    What you want to achieve is your browser being cross browser compatible.
    Surprisingly enough, though (nearly) all professional web developers know the standards, there are few tutorials on the subject.
    The validator linked to by SteveJohnson should point out all of your mistakes and possibly offer solutions and/or alternatives, if there's anything you can't figure out with it, drop a reply back here.
    {{ DiscussionBoard.errors[2822227].message }}
  • Profile picture of the author burnbebe
    Follow up question: Does fixing the HTML errors make it compatible with all types of browsers? Including Google Chrome, Opera, etc.?
    {{ DiscussionBoard.errors[2823194].message }}
    • Profile picture of the author SteveJohnson
      Originally Posted by burnbebe View Post

      Follow up question: Does fixing the HTML errors make it compatible with all types of browsers? Including Google Chrome, Opera, etc.?
      Not necessarily - but it's the first step, especially when troubleshooting formatting/display inconsistencies.
      Signature

      The 2nd Amendment, 1789 - The Original Homeland Security.

      Gun control means never having to say, "I missed you."

      {{ DiscussionBoard.errors[2824079].message }}
  • Profile picture of the author icun
    It should do.....except not all browsers fully support the correct standard yet. Most do but it is IE that is the biggest culprit for doing wierd stuff. I think that is being addressed with the newest version.

    If you stick to the standards laid down by W3C you can;t really go wrong, and it is professional 'best practice' to adhere to these standards.
    {{ DiscussionBoard.errors[2824420].message }}
  • Profile picture of the author swtsubmit
    You need to know things like, double margin bug, box model, and basic stuff about ie rendering. Its not hard as it sounds, but you'll need some time.

    Here are some common ie css hacks:

    ie6 - *html #somediv
    ie7 - *+html #somediv
    i8 - css example:

    #somediv {
    padding: 4px; /* normal browser */
    padding: 4px\0/; /* for ie8 only - this hack is not css valid */
    }
    {{ DiscussionBoard.errors[2824815].message }}
  • Profile picture of the author nigelzephyr
    a friend of mine had a problem like this before. why do this this happen? they were using PHP as the language and MySQL as the batabase. some of the sites part were working on IE but not in firefox, some were working on firefox but not in IE.
    {{ DiscussionBoard.errors[2824839].message }}

Trending Topics