DARKF3D3 Posted October 13, 2012 Share Posted October 13, 2012 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 More sharing options...
musicmaster Posted October 14, 2012 Share Posted October 14, 2012 Can you provide an annotated screendump so that we can have the problem visual? Link to comment Share on other sites More sharing options...
DARKF3D3 Posted October 14, 2012 Author Share Posted October 14, 2012 (edited) From chrome, if i look at the html code i see the style="height:0px;" and from there if i uncheck that style i see correctly the UL. The problem is that i cannot find where and why them have that style on it... Edited October 27, 2012 by DARKF3D3 (see edit history) Link to comment Share on other sites More sharing options...
DARKF3D3 Posted October 16, 2012 Author Share Posted October 16, 2012 Any idea? Link to comment Share on other sites More sharing options...
ionutz72 Posted October 27, 2012 Share Posted October 27, 2012 (edited) Have this problem,too. Solve it? Any idea? Edited October 27, 2012 by ionutz72 (see edit history) Link to comment Share on other sites More sharing options...
DARKF3D3 Posted October 27, 2012 Author Share Posted October 27, 2012 (edited) I solved adding style="height:149px !important; <ul class="address item" style="height:149px !important;"> <li class="address_title">{l s='Invoice'}</li> Edited October 27, 2012 by DARKF3D3 (see edit history) Link to comment Share on other sites More sharing options...
dturpin Posted November 7, 2012 Share Posted November 7, 2012 you're the man !!! I was looking your this problem, and you found the solution ! Many thanks Link to comment Share on other sites More sharing options...
pali Posted January 23, 2013 Share Posted January 23, 2013 (edited) 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 January 23, 2013 by pali (see edit history) 1 Link to comment Share on other sites More sharing options...
jagh3d Posted May 6, 2013 Share Posted May 6, 2013 (edited) 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 May 6, 2013 by jagh3d (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts