In IE8, the node specified for the terms of service overflows the checkout pane and shows through the remaing part of the page. You can fix by adding css rules to set the position:relative on the #fieldset-wrapper and .tos-text. That worked for me anyway.

Comments

pcambra’s picture

Could you please provide a patch for this?

chris_car’s picture

I set the following in my css file in order to make it work:

.page-cart-checkout fieldset#uc_termsofservice_agreement_checkout-pane {
position: relative;
}

.page-cart-checkout fieldset#uc_termsofservice_agreement_checkout-pane .tos-text {
overflow: scroll;
height: 200px;
}

pcambra’s picture

Status: Active » Fixed

Thanks chris_car, I've included the changes in the last dev release

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

les lim’s picture

Category: bug » task
Priority: Normal » Minor
Status: Closed (fixed) » Active

I'd argue that overflow: auto; is probably more appropriate, so that the TOS element only displays scrollbars when necessary.

pcambra’s picture

Status: Active » Fixed

You're right, I've changed this in the last dev version. However, you can override the form tpl so you can use the css you want to, the css provided by the module is just an example.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

pixelsweatshop’s picture

This fix doesn't work for IE7. I am running the latest dev and it still overlaps.

pixelsweatshop’s picture

Status: Closed (fixed) » Active
sokrplare’s picture

To make this work with IE7 you need to add "position: relative;" not only to the container but also to class "tos-text" itself.

The latest release in file "uc_termsofservice.css" already contains:

#uc_termsofservice_agreement_checkout-pane .tos-text {
  border: 1px solid #D2E6F3;
  overflow: scroll;
  height: 200px;
  padding: 5px;
  margin: 0 0 10px 0;
  display: block;
}

#uc-termsofservice-general-form #edit-submit {
  display: none;
}

#uc_termsofservice_agreement_checkout-pane {
  position: relative;
}

To make it work with IE7, you can either patch this file or add the following in your custom CSS file:

#uc_termsofservice_agreement_checkout-pane .tos-text {
  position: relative;
}

I hope this helps.

summit’s picture

Hi, this helped a lot. It is not correct that this is in the latest release: 2011-Feb-25.
Of course because the releasedate is earlier than the remark :)

Thanks for sharing and this helped me a lot on internet explorer.

greetings,
Martijn

tr’s picture

Status: Active » Fixed

Now fixed in -dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.