• I am having a tough time linking my external IE stylesheet. The solutions posted by other forum members have been unsuccessful for me. My machine only has IE 7 on it.

    I have been testing if the link works by removing key components from iestyle.css and visiting the blog in IE for the changes. The portion of my header.php code that contains the link is below. Any help would be appreciated. Thank you!

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt; <html dir=”ltr” lang=”en-US”>

    /* This code was added 10/16 for stylesheet */
    <link rel=”stylesheet” href=”<?php bloginfo(‘https://www.thejobagroup.org/wordpress/wp-content/themes/hijau/hijausegar-10-june-2007/iestyle.css&#8217;); ?>” type=”text/css” media=”screen” />

    <!–[if IE 6]>
    <link href=”<?php echo bloginfo(‘template_directory’); ?>/iestyle.css” rel=”stylesheet” type=”text/css” />
    <![endif]–>

    <head>

    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?><?php wp_title(); ?></title>

    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –>

    /* This is my original stylesheet tailored to FF */

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <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(); ?>

  • The topic ‘IE 7 Stylesheet linking’ is closed to new replies.