Jump to content

Problem with order-detail.tpl page


Recommended Posts

I have a problem with this file, exactly with the 2 ul element:

 

<ul class="address item">

and

<ul class="address alternate_item">

 

For some reason this 2 div have wrong height, if i analize this 2 element with chrome i see that they ave a style with height set to zero, like this:

 

<ul class="address item" style="height: 0px; ">

 

So the page isn't displayed correctly...The problem is that i don't see this style in the tpl file and in css too.

 

Someone could help me?

Thanks

 

 

 

PS: I'm using PS 1.4.9

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 2 months later...

You can also set

 

 

<ul class="address item" style="height:auto !important;">

 

But this is not how things should be fixed. There is some sort of JavaScript somewhere which is calculating the hight and injecting it into the DOM. If you look at My Addresses page, in the DOM you will see that the height is not 0 anymore. For some reason this calculator doesn't work properly on order-detail.tpl.

 

Any thoughts anyone how to fix this properly?

Edited by pali (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 3 months later...

You can also set

 

 

<ul class="address item" style="height:auto !important;">

 

But this is not how things should be fixed. There is some sort of JavaScript somewhere which is calculating the hight and injecting it into the DOM. If you look at My Addresses page, in the DOM you will see that the height is not 0 anymore. For some reason this calculator doesn't work properly on order-detail.tpl.

 

Any thoughts anyone how to fix this properly?

 

In Chrome displays fine, but Firefox still appears wrong.

 

Any idea??

 

I've solved adding in global.css

ul.address {
background-color:white;
float:left;
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin-left:0.25em;
padding-bottom:0.6em;
margin-bottom:1em;
position:relative;
width:268px;
height:auto !important;
}

Edited by jagh3d (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...