• My site looks good in Firefox, Chrome and okay on the secondary pages in IE. But I’m having an issue with the front page in IE 8.0. I ran the WC3 Validator with only one error (</div><!– #branding –>) Missing ‘>’ which has been fixed.

    Site:
    https://sportsdirectdist.com/wordpress/

    Any suggestions would be greatly appreciated. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • As I’m on Linux with no access to Internet Explorer, I would suggest A) Not to worry too much about it as less and less people are using IE nowadays, and B) Check your Stylesheet over ( *.css file) to ensure that there is nothing preventing IE to display properly.

    Also are you running AJAX/jQuery/Protoype?

    use conditional comments to load a stylsheet for ie

    <!--[if IE]>
    <link rel="stylesheet" href="your_stylsheet_for_ie.css" type="text/css" media="screen" />
    <![endif]-->

    Thread Starter crosscurrent

    (@crosscurrent)

    Thanks for the quick posts guys.

    @RichieC1 – I agree that not too many people use IE, but the rest of the site looks fine, just the front page. And it’s bothering me.

    @forunner – where do I place the conditional comment in the css? I searched the forums and couldn’t find any assistance.

    Thanks again.

    you don’t :p !
    you have to create a new stylesheet (for example : style_ie.css)
    and you call the stylsheet just after your first stylsheet in the html

    in my wordpress, I have (in the header.php) :

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    	<!--[if IE]>
    		<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); echo "ie.css"; ?>" type="text/css" media="screen" />
    	<![endif]-->
    	<!--[if IE 6]>
    		<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); echo "ie6.css"; ?>" type="text/css" media="screen" />
    	<![endif]-->

    warning : my stylsheet are called by “bloginfo(‘stylesheet_url’); echo “ie.css” because their name are style.cssie.css and style.cssie6.css
    put the new stylesheet in your theme folder, near the first one ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Issue on front page, just with Internet Explorer’ is closed to new replies.