• Hey guys, question for you experts real quick πŸ™‚

    My web banner is working fine in Mozilla Firefox but when I view the site in IE it doesn’t show up.

    Any suggestions on how to fix this? Thanks so much in advance.

    BTW, here is the header.php code from my site for your review:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; <?php language_attributes(); ?>>
    <head profile=”http://gmpg.org/xfn/11″&gt;
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />

    <title>
    <?php
    if ( is_single() ) {
    wp_title(”); echo (‘ – ‘); bloginfo(‘name’);
    } else if ( is_home() ) {
    bloginfo(‘name’);
    } else if ( is_page() || is_paged() ) {
    bloginfo(‘name’); wp_title(‘ – ‘);
    } else if ( is_archive() ) {
    bloginfo(‘name’); echo (‘ – Archive for ‘); wp_title(”);
    } else if ( is_search() ) {
    bloginfo(‘name’); echo (‘ – Search Results’);
    } else if ( is_404() ) {
    bloginfo(‘name’); echo (‘ – 404 Error (Page Not Found)’);
    } else
    wp_title(”,true);
    ?>
    </title>
    <?php
    if(get_option(‘wpr_seo_enable’) && is_home()) {
    $description = get_settings(‘wpr_seo_home_desc’);
    $keywords = get_settings(‘wpr_seo_home_key’);
    } else {
    if(is_single()) {
    $description = trim(wp_title(”, false));
    $keywords = trim(wp_title(”, false));
    } else {
    $description = get_bloginfo(‘description’);
    $keywords = get_bloginfo(‘description’);
    }
    }
    ?>
    <meta name=”description” content=”<?php echo $description; ?>” />
    <meta name=”keywords” content=”<?php echo $keywords; ?>” />
    <link rel=”shortcut icon” type=”image/ico” href=”<?php bloginfo(‘template_directory’); ?>/favicon.ico” />
    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <link rel=”stylesheet” href=”<?php bloginfo(‘template_directory’); ?>/css/print.css” type=”text/css” media=”print” />
    <link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”alternate” type=”application/atom+xml” title=”<?php bloginfo(‘name’); ?> Atom Feed” href=”<?php bloginfo(‘atom_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <script type=”text/javascript” language=”javascript” src=”<?php bloginfo(‘template_directory’); ?>/js/hmenu.js”> </script>
    <?php if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ ); ?>
    <?php wp_head(); ?>
    </head>
    <body>
    <div id=”wrapper” class=”clearfix”>

    <!–top header starts –>
    <div id=”header” class=”clearfix”>
    <div class=”h_left”>
    <div class=”logo”> ” title=”<?php bloginfo(‘name’); ?>” href=”<?php bloginfo(‘url’); ?>”><img src=”<?php bloginfo(‘template_directory’); ?>/images/logo.jpg” width=”xxx” height=”yyy” alt=”<?php bloginfo(‘name’); ?>” />
    </div>
    <div class=”description”><?php bloginfo(‘description’); ?></div>
    </div> <!–hleft end –>

    </div> <!–header end –>

    <!–Dropdown navigation –>
    <div id=”nav”>
    <ul id=”navmenu-h”>
    <?php
    wp_list_pages(‘sort_column=menu_order&title_li=’);
    // the following line will display category instead of pages in the main menu
    // wp_list_categories(‘title_li=’);
    ?>

    <div class=”rss”>“>RSS FEED</div>
    </div><!–Dropdown navigation #end –>

    Thank you so much for your time, I really appreciate it!

    Nick

Viewing 5 replies - 1 through 5 (of 5 total)
  • Don’t know if I missed it, but I’m not seeing the code to the banner you are referring to. Is that “banner” your header or a “banner” ad? It could be PHP code or CSS issue. Site URL?

    Thread Starter mnmelillo

    (@mnmelillo)

    Hi, thanks for responding.

    The site URL is http://wwww.dedona.com

    The banner is a header which is supposed to be static and universal across the site, regardless of page.

    The code is an image source, found here:

    <!–top header starts –>
    <div id=”header” class=”clearfix”>
    <div class=”h_left”>
    <div class=”logo”> ” title=”<?php bloginfo(‘name’); ?>” href=”<?php bloginfo(‘url’); ?>”><img src=”<?php bloginfo(‘template_directory’); ?>/images/logo.jpgwidth=”xxx” height=”yyy” alt=”<?php bloginfo(‘name’); ?>” />
    </div>

    <div class=”description”><?php bloginfo(‘description’); ?></div>
    </div> <!–hleft end –>

    </div> <!–header end –>

    THANKS IN ADVANCE FOR YOUR HELP!

    Well your first problem is you see where it says width=”xxx” height=”yyy” you are meant to replace these with the actual dimensions of your image, which in your case is 840×60.

    <img src=”<?php bloginfo(‘template_directory’); ?>/images/logo.jpg” width=”840″ height=”60″ alt=”<?php bloginfo(‘name’); ?>” />

    Thread Starter mnmelillo

    (@mnmelillo)

    :O

    LOL!

    Yeah, that would help! πŸ™‚

    I feel retarded haha…thanks for the help, I really appreciate it. Header looks like it is working perfectly so that was definitely the issue.

    I can’t thank you enough, take care now.

    No probs, and you πŸ™‚

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Firefox vs. Internet Explorer (Image Issues)’ is closed to new replies.