Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2007
    Posts
    60
    Plugin Contributions
    0

    Default Header formatting problem

    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
    Code:
    <div id="logoWrapper">
    <!-- CART IN HEADER -->
    <li class="cartcontents"> Shopping Cart | <span class="style1">
    	<?php echo sizeof($_SESSION['cart']->get_products()); ?>&nbsp;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:
    Code:
    #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.

  2. #2
    Join Date
    Sep 2007
    Posts
    60
    Plugin Contributions
    0

    Default Re: Header formatting problem

    btw this has been fixed. Let me know if anyone needs help with this. I broke the logo out to a separate div and positioned it separately.

 

 

Similar Threads

  1. Formatting EZ Pages in the header
    By davisz in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 26 Apr 2011, 05:36 PM
  2. Formatting problem
    By ktrainyo in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 3 Feb 2011, 01:57 AM
  3. header formatting
    By layoyo in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Nov 2008, 04:21 AM
  4. Header formatting
    By layoyo in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Oct 2008, 10:11 PM

Posting Permissions

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