Posted by gloria-g on February 26, 2010 at 11:40pm
Hi,
I have to say I hate IE. My website works well in FireFox based browser, but stuck in IE. I use drupal 6.15, pixture_reloaded 6.x theme and Ubercart 2.x. Here is the screen shot of the site:
http://www.techsrc.com/1cleaning2/error_shopping-cart-sidebar.PNG
There are 2 problems:
First, the sidebar bottom is borken with white space.
Second, the shopping cart icon dissappeared in IE. Only the title "Shopping cart" is displayed.
Maybe you have the same problem before. Please help me work out. Thank you very much.
And here is the generated html code by drupal 6.15:
<div id="block-uc_cart-0" class="block block-uc_cart region-odd even region-count-1 count-2">
<div class="block-inner">
<h2 class="block-title">
<a href="/1cleaning2/cart">
<span class="cart-block-icon-full" title="View your shopping cart."></span></a>
<span class="cart-block-title-bar" title="Show/hide shopping cart contents.">Shopping cart
<span class="cart-block-arrow"></span></span>
</h2>
<div class="block-content">
<div class="block-content-inner">
<div id="cart-block-contents">
<table class="cart-block-items">
<tbody>
<tr class="odd">
<td class="cart-block-item-qty">1×</td>
<td class="cart-block-item-title">
<a href="/1cleaning2/node/12">Guide To Professional Housecleaning</a></td>
<td class="cart-block-item-price">
<span class="uc-price">$0.01</span></td>
</tr></tbody>
</table>
</div>
<table class="cart-block-summary">
<tbody><tr>
<td class="cart-block-summary-items">
<span class="num-items">1</span> Item</td>
<td class="cart-block-summary-total">
<label>Total:</label>
<span class="uc-price">$0.01</span></td>
</tr>
<tr class="cart-block-summary-links">
<td colspan="2">
<ul class="links">
<li class="cart-block-view-cart first">
<a href="/1cleaning2/cart" rel="nofollow">View cart</a></li>
<li class="cart-block-checkout last">
<a href="/1cleaning2/cart/checkout" rel="nofollow">Checkout</a>
</li>
</ul>
</td>
</tr></tbody>
</table>
</div>
</div>
</div>
</div> <!-- /block -->Here is the css for the cart:
/**
* Styles for the cart block icon.
*/
.cart-block-icon-full, .cart-block-icon-empty {
height: 7px; display: inline; padding: 4px 12px 0;}
.cart-block-icon-full {
background:transparent url(images/cart-full.png) no-repeat left center;}
.cart-block-icon-empty {
background:transparent url(images/cart-empty.png) no-repeat left center;}
/**
* Styles for the cart block title and toggle.
*/
.cart-block-title-bar { display: inline;}
.cart-block-toggle { cursor: pointer;}
.cart-block-arrow {
height: 7px; display: inline; padding: 4px 12px 0;}
.cart-block-title-bar .arrow-up {
background: transparent url(images/bullet-arrow-up.gif) no-repeat center center;}
.cart-block-title-bar .arrow-down {
background: transparent url(images/bullet-arrow-down.gif) no-repeat center center;}
.cart-help-text { position:relative; top:-5px; font-size:x-small; }
/**
* Styles for the cart block contents and summary.
*/
#cart-block-contents ul.product-description {
margin: 0pt; padding: 0pt 0pt 0.25em 1em;}
#cart-block-contents .product-description li {
margin: 0pt; padding-top: 0pt;
font-size: .8em; padding-bottom: 0pt; }
.cart-block-items { border-bottom: 2px; padding: 2px;}
.cart-block-items tbody{border-top: 0px;}
.cart-block-items tr { vertical-align: top;}
.cart-block-items tr.odd, .cart-block-items tr.even {
border: none; background-color: inherit;}
.cart-block-item-title{ width: 100%;}
.cart-block-item-price{ text-align: right; white-space: nowrap;}
.cart-block-summary { padding: 2px;}
.cart-block-summary tbody { border-top: 0px;}
.cart-block-summary tr{ vertical-align: top; }
.cart-block-summary-items { white-space: nowrap;}
.cart-block-summary-total { width: auto; text-align: left;}
.cart-block-summary-total label { font-weight: bold;}
.cart-block-summary-total .uc-price { display: inline;}
.cart-block-summary-links { text-align: left;}
.cart-block-summary-links ul.links li {
border-right: solid 1px; padding: 0em 0.75em 0em .2em; }
.cart-block-summary-links ul.links li.last {
padding-right: 0em; padding-left: 1.1em; border-right: none; }
Comments
fixed
This error is fixed.