New Zenner
- Join Date:
- Sep 2007
- Posts:
- 60
- Plugin Contributions:
- 0
Logo out of place in IE
I added code to my logoWrapper div to display my cart contents. I used this div and relative positioning so formatting wouldnt be disturbed if/when banners were added. It looks great in Firefox, but my logo observes the relative positioning when viewing in IE.
Here's the code from tpl_header.php
<div id="logoWrapper">
<!-- CART IN HEADER -->
<li class="cartcontents"> Shopping Cart | <span class="style1">
<?php echo sizeof($_SESSION['cart']->get_products()); ?> Item(s):
<?php $header_cart = $currencies->format($_SESSION['cart']->show_total());
echo $header_cart;
?>
</span>
<br class="clearBoth" />
</li>
<!-- END CART IN HEADER -->
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
Here's my stylesheet:
#logoWrapper li{
font-size: 12px;
font-weight: bold;
list-style-image: none;
display: inline;
float: right;
position: relative; top: 125px; right: 5px;
line-height: 0px;
margin: 0em;
color: #633129;
}
Please let me know if you can help. If you need a look at the site please PM me. My client wants to keep this private, so I'd rather not just post the link.