Support » Fixing WordPress » Image doesn’t display in IE

  • Hi all. I’m a bit puzzled here. I recently fiddled with my site and added buttons on the sidebar to allow guests to view only Japanese or only English posts.

    http://michaeldowney.net

    In firefox the button images (flags) display correctly and I have a valid css stylesheet. However, in both IE 6 and 7 they are not visible, but bizarrely the links to them are showing (when you hover over them the cursor changes). So only the images are missing…

    I’ve looked around on the internet for fixes and tried the position: relative and such, but to no avail. Any ideas what I need to do to correct the code for IE?

    Here is the code in my stylesheet and sidebar:

    Stylesheet:

    #sidebar ul.language li {
    display: inline;
    }
    
    #sidebar ul li.japanese a{
    	padding: 0 0 20px 42px;
    	background: url(images/jp.gif) no-repeat center 2px;
    }
    
    #sidebar ul li.english a{
    	padding: 0 0 20px 37px;
    background: url(images/gb.gif) no-repeat center 2px;
    }
    
    #sidebar ul li.normal a{
    	padding: 0 0 20px 37px;
    	background: url(images/gbjp.gif) no-repeat center 2px;
    }
    
    #sidebar ul li.syndicate a{
    	padding: 0 0 20px 37px;
    	background: url(images/feed.gif) no-repeat center 2px;
    }

    Sidebar code:

    <ul class="language">
    <li class="japanese"><a href="<?php echo get_category_link(7);?>" title="日本語"></a></li>
    <li class="english"><a href="<?php echo get_category_link(12);?>" title="English" ></a></li>
    <li class="normal"><a href="<?php echo get_settings('home');?>" title="English and Japanese"></a></li>
    <li class="syndicate"><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Subscribe to this site using RSS'); ?>" class="feed"></a></li>
    
    </ul>

    Any help is much appreciated! I am not an expert on CSS and coding, but I have a little knowledge.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Any ideas? I upgraded to WordPress 2.5 but still no success…

    Check yrs Internet Explore Cookies ,
    Clear yrs IE Cookies Then Try It
    I Think Then It Will Show
    Or Try To See Yrs Webpage From Diff Pc.

    scrapur.com

    this is more of a CSS question than a WordPress question, so I’m not sure it belongs in the WordPress support forum.

    Thanks. I’ll post it elsewhere. I tried the cookies though, but it didn’t work. I checked other computers too

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image doesn’t display in IE’ is closed to new replies.