Community Forums 

Main Content

Re:same cart script looks different in IE and Firefox

    Sep 21 2010 18:56:50


    Gil Sery

    Join date : 2010-04-27      Posts : 141

    Hard as it may be to believe, (I still have trouble believing it, even though I now know it to be true), the problem stems from your incomplete DOCTYPE declaration.

    I had the same problem recently with my website, and noticed the same thing -- the script looks different in IE and FF. Someone on this board graciously pointed out to me that I did not have the URL in my DOCTYPE declaration. I figured I didn't need it, but when I added the URL to the DOCTYPE, presto change-o! The result seemed magical -- the script looked the same in both browsers!

    I'm pretty sure it's not something I would have thought of on my own, so I went to check your site, and sure enough, you are missing the URL from your DOCTYPE.

    FYI, the FULL DOCTYPE should read:

    [!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "";]

    Just replace the square brackets above with the regular HTML coding brackets (i.e. < and >) You only have the first line in your source code.

    Correct the DOCTYPE declaration and let us know if this fixes the problem.