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 6 of 6
  1. #1
    Regular Coder tpeck's Avatar
    Join Date
    Oct 2002
    Location
    Sydney, Australia
    Posts
    875
    Thanks
    53
    Thanked 6 Times in 5 Posts

    differences between IE8 and IE9

    I've discovered a good website to render pages in various versions of IE. So let me share that first: http://ipinfo.info/netrenderer/

    Now I am trying to work out why this page (http://www.multitechcomputers.com.au/index.html) doesn't look right in IE8. It looks good in most other browsers and in IE9, but I'm baffled why there should be this difference between IE8 and IE9.

    I can live without catering for IE6 and IE7 but I think IE8 is necessary still.

    Any obvious ideas? (sure, I know my coding isn't perfect - I'm trying to help out a friend of mine. He probably needs a more skillful friend!)
    The difference between genius and stupidity is that genius has its limits. (Albert Einstein)

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    I think the problem here is netrenderer not your page - it displays fine in IE8 for me -see attached image. I personally think you cannot rely on anything other than the actual browser itself to test a page.

    I can live without catering for IE6 and IE7 but I think IE8 is necessary still.
    Still test everything in IE6+ myself.
    Attached Thumbnails Attached Thumbnails differences between IE8 and IE9-ie8.jpg  

  • #3
    Regular Coder tpeck's Avatar
    Join Date
    Oct 2002
    Location
    Sydney, Australia
    Posts
    875
    Thanks
    53
    Thanked 6 Times in 5 Posts
    Thanks for checking it. Well, you might be right about the actual browser needing to be used, except the problem was first noticed in the guy's computer running IE8, so I have seen it fail horribly in the actual browser.

    Now it's even more mysterious (but a little bit more positive!) since your snapshot shows IE8 nicely rendering the page. Are there then different versions of IE8?

    The page code takes into account IE's various versions (including IE8) using;

    Code:
    <!--[if lt IE 9]>
    <script type="text/javascript" src="js/html5.js"></script>
    <link rel="stylesheet" href="css/ie.css" type="text/css" media="all">
    <![endif]-->
    ...so it should be working fine.
    The difference between genius and stupidity is that genius has its limits. (Albert Einstein)

  • #4
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    Ahhhhh, sorry, it does fail in IE8 - just had a new laptop and forgot this is IE9.

    I susepct the problem may be the html5 elements in your code. Hang on...

  • #5
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    Hmm, you've got a couple of unclosed elements:

    Here:

    Code:
    				<div class="col2">
    					<ul id="menu">
    						<li class="current_page_item">
    
    						<a href="#" style="cursor: none;">Home</a></li>
    						<li><a href="services.html">Services</a></li>
    						<li><a href="sales.html">Sales</a></li>
    						<li><a href="prices.html">Latest Prices</a></li>
    						<li><a href="aboutus.html">About Us</a></li>
    						<li><a href="findus.html">Find Us</a></li>
    
    					</ul>
    
    </nav>
    and the validator is throwing out another one here:

    Code:
    <!-- Copyright (c)2002 Site Meter -->
    <!--webbot bot="Script" endspan i-checksum="39138" --></font></div>
    												</td>
    											</tr>
    										</table>
    									</div>
    
    								</div>
    							</div>
    						</div>
    </article>
    I think you are missing one closing </div> there. Worth getting rid of these first.

    EDIT: I think the first error above is what's causing your issue - different browsers will vary in how they parse errors like this - which is why IE9 is OK but IE8 isn't.
    Last edited by SB65; 11-09-2011 at 02:51 PM.

  • #6
    Regular Coder tpeck's Avatar
    Join Date
    Oct 2002
    Location
    Sydney, Australia
    Posts
    875
    Thanks
    53
    Thanked 6 Times in 5 Posts
    OK Thanks. I will check that col2 div carefully tomorrow.
    The difference between genius and stupidity is that genius has its limits. (Albert Einstein)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •