Site in IE loading not corret (WP with custom theme)

Discussion in 'WordPress' started by robibrk, Sep 6, 2008.

  1. #1
    Please check my trailer site with IE and after with Firefox/Opera.

    The only proble is the issue with an Amazon video widget - it is used as a header.


    Here is the code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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 wp_title(); ?></title>

    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
    <link href="<?php bloginfo('template_url'); ?>/style.css" rel="stylesheet" type="text/css" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/mediabox.css" type="text/css" media="screen" />

    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/imagelink.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/mootools.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/mediabox72.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/swfobject.js"></script>

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

    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_head(); ?>

    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-3149154-18";
    urchinTracker();
    </script>

    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_fe411b09-8f0c-459e-9519-32bf2b92fcd3" WIDTH="1005px" HEIGHT="503px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fwloani-20%2F8007%2Ffe411b09-8f0c-459e-9519-32bf2b92fcd3&Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fwloani-20%2F8007%2Ffe411b09-8f0c-459e-9519-32bf2b92fcd3&Operation=GetDisplayTemplate" id="Player_fe411b09-8f0c-459e-9519-32bf2b92fcd3" quality="high" bgcolor="#ffffff" name="Player_fe411b09-8f0c-459e-9519-32bf2b92fcd3" allowscriptaccess="always" type="application/x-shockwave-flash" align="middle" height="503px" width="1005px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fwloani-20%2F8007%2Ffe411b09-8f0c-459e-9519-32bf2b92fcd3&Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT>

    <body>
    <div id="wrapper">
    <div id="head_content">
    <div id="menu">
    <a href="<?php bloginfo('url'); ?>/"><span class="menu-items"><h3>Home</h3>Take me back to the home page</span></a>

    <?php
    $pages = wp_list_pages('exclude=1423&sort_column=menu_order&depth=1&title_li=&echo=0');
    $pages = preg_replace('/(<a[^>]*>)/','$1<span class="menu-items"><h3>',$pages);
    $pages = str_replace('</a>', '</h3>Click here for more information</span></a>', $pages);
    echo $pages;
    ?>

    <span class="search"><h3>Search</h3><?php include (TEMPLATEPATH . '/searchform.php'); ?></span>


    </div>

    </div>
    <!-- end header -->

    I want, that the page is loading with this Amazon widget in IE.
    Thanks for your time.
     
    robibrk, Sep 6, 2008 IP
  2. robibrk

    robibrk Well-Known Member

    Messages:
    1,115
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    130
    #2
    Anyone please?
     
    robibrk, Sep 7, 2008 IP
  3. mudguts

    mudguts Peon

    Messages:
    81
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    not sure if this is relevant but shouldn't your google analytics be way down just above the </body> tag?
     
    mudguts, Sep 7, 2008 IP
  4. robibrk

    robibrk Well-Known Member

    Messages:
    1,115
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    130
    #4
    Thanks for response, tested but is the same issue with IE. Anyone else?
     
    robibrk, Sep 8, 2008 IP