if width:100% is set the whole cart form shows below the sidebar...

please review.

regards

CommentFileSizeAuthor
ie6_width_float.patch576 bytespebosi

Comments

rszrama’s picture

Assigned: Unassigned » rszrama
Issue tags: +theme layer
cha0s’s picture

I don't see this happening. Is it theme-specific? If so, please inform us of the theme we can use to reproduce.

flebas’s picture

It happens with IE6 and IE7 with Acquia marina theme.
Displaying cart block destroy all the page layout.

I have read elsewhere that it was working in beta4 and broken in beta 5, but I did not switch back to beta 4.

thunt’s picture

At the top of uc_cart/uc_cart_block.css you'll see three instances of "display: inline-block;", which, changed to "display:inline;" fixes the problem (in IE 7 at least - I haven't tried 6), although aesthetically it could still use some tweaking (you might try display:block with floats, but make sure you clear the floats). The "width:100%" doesn't seem to have anything to do with it, and can be left as-is. I'm personally using the beta 4 CSS since I liked that styling fine. Hope that helps!

robertmaynord’s picture

Thanks for the fix - changing to "display:inline;" works for IE6 and IE7 - for me. However, IE8 displays multiple shopping cart icon! At least it is better than before - the shopping cart block would destroy everything. By the way, turning off the icon also works for me.

Island Usurper’s picture

Status: Needs review » Closed (duplicate)

Marking this a duplicate of #413930: Shopping Cart Block Display Issue in IE8 since that's where the patch is. I haven't seen the multiple icon in IE8, so I think committing the change to "display: inline;" is worth doing. Make an issue for it because it kind of sounds like a separate issue.

Bobuido’s picture

I had this cart display problem in IE6 with a couple of themes (Clean & Agregado) and a couple of versions of UC. Adjusting to inline & removing the 100% worked a treat. All seems well now. Thanks to everyone involved in the fixes and of course the wonderful Drupal / Ubercart Projects :)

summit’s picture

Version: 6.x-2.x-dev » 6.x-2.4
Status: Closed (duplicate) » Active

Hi, I use Ubercart 2.4 and I have got this problem.
I thought may be removing the latest of the width: 100% would help, but no go.
Still my theme goes banana when adding the shoppingcart block.
Did apply this patch and this patch:http://drupal.org/node/413930.

Greetings, Martijn

tr’s picture

Status: Active » Closed (fixed)

Please open a new issue if you're having a problem - this issue has been closed for almost two years without anyone else saying it was still not fixed, so I think it's unlikely that what you're seeing is the same as the issue that was fixed here.

If it only breaks in your custom theme and not in Garland or other common themes, I would lean towards considering this a problem with your theme and not with the Ubercart markup.