Viewing 1 replies (of 1 total)
  • You have a lot of serious HTML errors in your code:

    https://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fmytristateautoglass.com%2F

    Unless you correct those errors you’re on a hiding to nothing where cross browser issues are concerned.

    When you specify a doctype, you are signing a contract that says your html will conform to that doctype so that the user’s browser knows how to render it. If you break the contract, the browser is free to render the html however it wants (in ‘quirks’ mode). Since there are no standard ways of rendering invalid code for the xhtml 1.0 Transitional doctype you are going to get differences between browsers.

    So your first step is to get your html right. At least for the most serious errors such as elements in invalid contexts and so on. You can ignore stuff like missing alt tags if you don’t care about accessibility.

    If you are using a theme that is not your own, and if it is the theme that is causing the invalid html, you may want to talk to the theme authors.

    When you have your html in a reasonable state, and if you still have a problem in some versions of IE, you can use conditional comments in your header.php file to direct the version(s) of IE you want to target to their own style sheet.

    Bear in mind that all versions of IE are different. Very different if you are intending to support IE6 and 7.

    On the whole, if your html is valid, IE8+ will usually give you something close to what you get in proper browsers.

    HTH

    PAE

Viewing 1 replies (of 1 total)
  • The topic ‘New site browser issue’ is closed to new replies.