I started a website with Hostmonster a little while ago and have primarily been building it using Firefox. When I asked a friend to look at it on his Internet Explorer browser, the formatting was all off. The main logo was out of place and most strangely the text in the right-hand column only allowed one word per line making so a couple of paragraphs strings obnoxiously down the page. I have no idea where to even begin in rectifying this problem.
Although I didn’t want anyone to publicize this site at this stage in the game, it would really help if someone could give me some advice. My guess is that there is some little quick-fix to this problem that would probably have me working all afternoon. Check it out on both Firefox and IE if you can to see the vast discrepancy in formatting:
www.piscatawayacres.com
Next: How Can I Transfer A Domain Name To A New Registrar?
Previous: I Have A Localhost Set Up In Linux… But How Do I Set It Up With A Godaddy Domain?
"How Can I Make My New Firefox-built Website Compatible With Internet Explorer?" was posted on Tuesday, July 14th, 2009 at 2:22 pm.
Line 16, table has a width of 56, I think you meant 56%.
Also (not to do with the IE problem) there’s a rogue bit of code from line 42 that doesn’t belong there
Way too wide. You are coding to a DocType of XHTML 1.0 Transitional. Correct as many errors as you can to bring your page closer to being browser compatible.
HTML Errors – http://validator.w3.org/check?verbose=1&…
HTML Tidy flagged these:
Result: 0 errors / 8 warnings
line 37 column 1 – Warning: isn’t allowed in
line 36 column 1 – Info:
line 38 column 1 – Warning: isn’t allowed in
line 36 column 1 – Info:
line 12 column 1 – Warning:
line 12 column 1 – Warning:
line 16 column 1 – Warning:
line 17 column 27 – Warning: trimming empty
line 17 column 19 – Warning: trimming empty
line 20 column 67 – Warning: trimming empty
DON’T use tables for a page layout. Went out in the 1990s when CSS came in. If you are going to use XHTML, then code to it properly.
Ron