Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member jsarber's Avatar
    Join Date
    Nov 2009
    Posts
    17
    Member #
    20416
    The site is http://orangecoffeecup.com. Look at the header. In IE the coffee cup image drops half way down. It looks fine in other browsers. I'm stumped.

    Here's the header:
    Code:
    <div id="header">
    
    <div id="twitter-badge"><a href="http://twitter.com/<?php if ($apa_Twitter == ''){echo '_fearlessflyer';}else{echo $apa_Twitter;} ?>">follow</a></div><!--twitter-badge-->
    
    <a id="logo" href="<?php bloginfo('url');?>"><img src="http://orangecoffeecup.com/wp-content/uploads/2011/03/coffee-cup-large.png" width="111px" height="70px" alt="Orange Coffee Cup" title="Orange Coffee Cup" /> Podcasting Network</a>
    <div id="navigation">
    <div id="page-nav">
    <ul>
    <li id="welcome" class="current_page_item2"><a href="<?php bloginfo('url');?>" title="Home">Welcome</a></li>
    <?php wp_list_pages('title_li=&depth=1&sort_column=menu_order'); ?>
    </ul>
    <span id="login"><a href="<?php echo get_option('home'); ?>/wp-admin/">Login to Site</a></span>
    </div>
    Here's the CSS:
    Code:
    #header {height:156px; clear:both; padding:70px 49px 0 49px; width:940px; margin:0 auto; text-align:left; background:url(images/header-bg.gif) no-repeat bottom left; position:relative;}
    #twitter-badge {position:absolute; left:740px; top:-5px; background:url(images/twitter-badge-maroon.png); width:218px; height:139px;}
    #twitter-badge a {display:block; width:218px; height:139px; text-indent:-9999px;}
    a#logo {clear:both; font-size:98px; overflow:hidden; text-decoration:none; text-transform:uppercase; color:#333333;letter-spacing:-2px; display:inline; margin:0px; padding:0;}
    Any help would be greatly appreciated.

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    Try adding this to your CSS:
    Code:
    a#logo img {vertical-align:  middle}
    It looks like it's aligning the picture to the baseline of your text by default.

    Alternatively, you could do something like this, which should work across the board:
    Code:
    <div id="coffee-cup-logo">
    <a href="http://orangecoffeecup.com"><img src="http://orangecoffeecup.com/wp-conten...-cup-large.png" width="111" height="70" alt="Orange Coffee Cup" title="Orange Coffee Cup" /></a>
    </div>
    <div id="coffee-cup-logo-text">
    <a href="http://orangecoffeecup.com">Podcasting Network</a>
    </div>
    Float these two divs, clearly define their widths, and you should be okay. You might have to adjust margins and/or padding, but at least they'll line up consistently.

    I also removed the "px" from your width and height of your image. I doubt it's causing the problem, but you only need the numbers there.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member jsarber's Avatar
    Join Date
    Nov 2009
    Posts
    17
    Member #
    20416
    Thank you much. I tried your suggestions and the first did nothing and the second caused the text to drop below the logo. But I added this to the IE stylesheet and it worked:

    Code:
    a#logo img {margin-bottom:25px;}


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

image not displayed completely with ie 7

Click on a term to search for related topics.
All times are GMT -6. The time now is 01:45 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com