WordPress.org

Ready to get started?Download WordPress

Forums

Site appears blank in IE7 (2 posts)

  1. suizka
    Member
    Posted 3 years ago #

    Hi, I having been creating my website and I have been using firefox to view it. My friends tried to access it using Internet explorer 8 and it doesnt load at all. Im a newbie to this, and from looking at other posts im not sure if its something to do with the code in my header.php file?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    
    <head profile="http://gmpg.org/xfn/11">
    
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title><?php bloginfo('name'); ?><?php if ( is_single() ) { ?> &raquo; Archive <?php } ?> 
    
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --><?php do_action('icl_language_selector'); ?>
    <!-- Styles  -->
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/print.css" type="text/css" media="print" />
    <!--[if IE]><link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/ie.css" type="text/css" media="screen, projection" /><![endif]-->
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_head(); ?>
    </head>
    
    <body>
    <div class="container">
    <div class="container-inner">
    
    <!-- Begin Masthead -->
    <h1 id="site-title">
    <span>
    <a href="<?php bloginfo ('home');?>" rel="home" title="<?php bloginfo('name');?>">
    <img src="<?php echo bloginfo ('template_directory');?>/images/logo.png" alt="<?php bloginfo ('name');?>" />
    </a>
    </span>
    </h1><!--end of h1 site-title-->
    
    <?php if ( $paged > 1 ) { ?>
    <?php } ?>
    
    <!-- Begin Navigation -->
    
    <?php gpp_theme_nav(); ?>
    
    <?php /* If this is home */ if (is_home()) { ?>
    <?php include (TEMPLATEPATH . '/slideshow.php'); ?>
    <?php } ?>
  2. Peter_L
    Member
    Posted 3 years ago #

    actually, it does seem to load but the page is blank

    there is a div with two links (english - espagnol) inside your <head>, start with taking that out of the head and putting it into the body

Topic Closed

This topic has been closed to new replies.

About this Topic