mgason — 2012-02-02T14:48:46-05:00 — #1
I am trying to clean up a site which has some pretty awful errors. Not my doing, and I wil get to fixing them, please ignore.
Right now the one that is the biggest issue and one i want help with is Price not showing in IE7 and IE8. This is a problem page.
look at it in any other browser you will see the price below each image.
IE7 and IE8 it is not there.
Price does display for some people on IE8 is there a browser setting that makes IE8 render as IE7?
ryanreese — 2012-02-02T15:28:00-05:00 — #2
Compatibility mode will have IE8 render almost like IE7 but it is not exactly the same. Do you have compatibility mode on? However, I view the page in IE7 and 8 (in IEtester, though I did open my real IE8 to see) and all the prices are appearing.
mgason — 2012-02-02T16:29:54-05:00 — #3
I used http://netrenderer.com/ to test, I saw prices in IE8, none in IE7.
My client sent me a screenshot of IE8 on his PC with prices not showing. Obviously the clients computer matters!
No sure where to go from here. I will have him check for Compatibility mode.
Where is that found in IE8, same place as IE9?
I am on a mac so can not check real world
paulob — 2012-02-02T16:46:57-05:00 — #4
It looks like the normal haslayout issue so try this:
mgason — 2012-02-02T17:33:47-05:00 — #5
thanks for the reply.
prodtitles is not the price, is it important though?. Should I target the price span .pricedisplay or one of the containing div's? I just read the http://reference.sitepoint.com/css/haslayout. I could do this by trial and error but I don't have a PC to test with me as I am on the road, and a mac user, plus the site has caching.
Both parent div and form have widths set, which would imply they should be OK? so maybe span which does not?
further thought says not just the span as it is failing to show the "This product has sold out" text on the half dozen products at the bottom of the page.
PS. what did they name that new grand daughter of yours?
paulob — 2012-02-02T18:06:04-05:00 — #6
Can you humour me and add that rule I gave you and then I will test again.
Zara - she's about 8 weeks old now.
mgason — 2012-02-02T19:45:23-05:00 — #7
Of course I will humour you!
I did it. I am not seeing it in firebug? Does it show there?
I am not sure if caching is stopping it from being used or firebug is unaware of it. Last time you helped me your Grand daughter was bien born!
paulob — 2012-02-02T21:25:42-05:00 — #8
Its working for me in IE7 now.
The rule wont show in Firebug because its proprietary IE code and Firebug only shows code it understands.
mgason — 2012-02-03T10:31:14-05:00 — #9
I suspected that was the case with firebug,
awesome thanks, yet again you solved my problem.
how did the h2 prodtitle effect the price div/span? Obviously the h2 could not contain the price div/span
paulob — 2012-02-03T10:48:04-05:00 — #10
The h2 was being repositioned under and at the top of that little block which then meant the price followed it and was therefore also under the little block. If you use the developer tools in IE8 and outline the element you can see where it was.
That's the problem with haslayout and the trigger element can be miles away from the actual problem and causes errors down the page because it has a knock on effect.