Click here to Skip to main content
15,887,363 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
one of my webpage has issue rendering in IE8 standard.It is rendering fine in IE9 standard, IE 5 quirks mode.

Issue is I am creating around 8 span elements in JS which is rendering properly in IE9 standard but in IE8 standard they are not visible but i verified in Developers tool that they are there and when i mouse over that particular location where span elements are suppose to be there it does gets visible.

I am working on updating our website to support IE8,9,10 standard.

I understand that since this website is old and use to support IE7 and compatibiltiy mode for IE8,9,10 and i am looking for changing CSS and so many other things.
I basically need pointers on how to debug so that i know exactly what CSS property(or any other UI related) i have to update/modify so that same wepage displays properly in IE 8 standard.

Thanks
Posted
Comments
Sergey Alexandrovich Kryukov 9-Apr-13 13:49pm    
There is not such thing as "IE8 standard" :-)

I don't think you can get an adequate advice in a quick answer, perhaps just a very quick one: remove all incompatibilities and do everything according to W3 standards, but depending only on commonly implemented features by major browsers, not only IE.

—SA
devcode007 9-Apr-13 13:58pm    
i also feel the same :)
document mode : Standard is what i am talking about.
My current website is removing support of IE5 quirks and IE8 compatibilty for the sake of supporting some third party which no longer support old quirks modes.
Sergey Alexandrovich Kryukov 9-Apr-13 14:07pm    
First of all, this is quite a good thing to do. Again, you cannot expect getting all the details in one quick answer.
OK, let me add a couple of ideas from my old answers and answer formally...
—SA
Sergey Alexandrovich Kryukov 9-Apr-13 14:13pm    
OK, done. I hope you will find some sound non-nonsense advice in my answer.
—SA
devcode007 9-Apr-13 17:29pm    
very weird ...i restarted my machine and i no more see this issue. All working fine without changing the code.


1 solution

First of all, this is a good thing. "Quirk mode" and other lame must die. But you should support all major browsers, not just IE. As I just said, remove all incompatibilities and do everything according to W3 standards, but you design should only depend on the features surely implemented on all major browsers.

Now, the thing is: these days you cannot cover all possible incompatibilities between browsers and compensate for them. You just cannot win the race. So, what to do? My answer is: focus on main goals of your design and make the rendering not too sensitive to small rendering detail. How to do it? First of all, by fine setting of your goals and requirements to the site.

I tried to express basic ideas in my past answer:
webpages layout change when running in different browsers.[^].

Good luck,
—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900