CSS issue only in IE9 - html

I am using a spring based application where all the images are loaded from a separate image server. I have a common css file used accross the application. Initially it had doctype as MATHML and i tried other doctypes also. But the css is not loaded only for IE9 browser mode with IE9 standards but it works for IE9 browser mode with IE8 document standards. And the same is working for firefox, chrome, IE8. Can anyone suggest me the solution to make it work in IE9.
I have tried using
<meta http-equiv="X-UA-Compatible" content="IE=edge">
but still it did not work.

Related

IE7, Standards mode vs "IE7 Standards" mode

I have a fairly simple HTML5 website going with some jquery/javascript and CSS. It looks fine in Chrome, FF and IE8, 9 and 10. However, when I switch the browser mode to IE7 it doesn't look right. If I change the document mode to "standards" it looks correct again, still in IE7 mode. Please see the screenshot for clarification. Can someone explain the difference between "Standards" mode and "IE7 Standards" mode? And how can I change the "page default"?
You need to Add
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
in your <head> tag.
This will force IE to use latest rendering engine even in chrome frame .

Emulate IE7 in IE9. What is the default?

I'm currently working on a site that has uses the Emulate IE7 meta tag like this:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
As far as I know and as far as I've googled this tag also addresses IE9, forcing it to go into IE7 compatibility mode.
However I noticed that one of the devs on the project is viewing the page in IE9-mode, not in compatibility mode.
How does this work? Is compatibility mode the default setting in IE9, when the Emulate IE7 meta tag is set? Would one have to manually change a setting in IE9 to bypass the Emulate IE7 meta tag?
The Developer Toolbar in IE9 (and IE8) allows you to change the browser mode-- including forcing display using the IE9 rendering engine.
For more information, read this MSDN article: http://msdn.microsoft.com/library/dd565628(VS.85).aspx#browsermodes

HTML5 Canvas hosted on Dropbox doesn't work with IE9

Try this link on Firefox or Chrome:
http://dl.dropbox.com/u/34375299/aaa/index.html
Notice a simple animation appears on a HTML5 canvas there.
Load the same link in IE9, and it displays the fallback content inside the canvas tag: "Your browser does not appear to support HTML5..." - but IE9 has perfectly good canvas support!
I'm using <!DOCTYPE html>, and if all the necessary files are downloaded and run in IE9 from disk, it works OK. Also, the same page hosted on other providers (e.g. normal web servers rather than dropbox), it also works OK.
What's different about dropbox that means IE9 won't show a canvas, and can I fix it?
Check to make sure that your IE9 is not in Compatibility Mode, which would force it behave like IE8, which doesn't support canvas. I'm guessing something on the dropbox site is forcing your browser into compatibility mode. See this answer for more details on that... Why does IE9 switch to compatibility mode on my website?
Unsure as to why this is happening, but it is going into IE 9 compatability mode instead of rending in standards mode. You can try forcing it with the following meta element: <meta http-equiv="X-UA-Compatible" content="IE=9" >

Rendering issues with IE7 in quirks mode

I have developed a website which works fine in all browsers except IE7 as reported by some users. In IE7 it is completely broken up.
Unfortunately I do not have access to any machine with IE7. Hence I installed developer toolbar on my IE8 and tried to view the site with compatibility mode set to IE7| IE7 Standards.
The site was working fine. When I set it to IE7 | IE7 Quirks mode however I could see that the site was broken.
What is the simplest way to fix this issue? Is there any way I can force the browser to render my website in IE7 standards mode always ?
Quirks mode in IE is usually triggered by a lack of (or incorrect) doctype.
Check that your doctype is valid. This should prevent it from going into quirks mode.
If you're not sure what to do, add the following to the top of your html code:
<!DOCTYPE html>
Hope that helps.
I know of this meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=7" />
But I'm not sure if it helps in your case. Maybe it's best to see what's causing the problem and solve that in a browser-indepent way.

Broken layout in IE 9

I have a gwt application with various layoutpanels. My layout works fine with all browsers except IE9. The layout is completely broken. Text appears everywhere, images at the bottom of the page or just shown for a 3/4, etc. I have recompiled my app with the newest version of gwt 2.3 but it didn't change anything. Any suggestions? Thanks in advance. Here an image with the broken background:
It is very strange that in IE9 something is broken and NOT in the other browsers.
Try this:
-correct the issues for IE9 and your other target browsers
-then see if in the other browsers you continue seeing everything ok (probably you will have problems with IE6 and IE7 so then what I would do is to fix them with a hack)
So what I recommend is to beging working with the highest version of the browsers and THEN fix the older ones. Do the inverse way...=)
If this doesnt help you, could you attach us some code?
A workaround to your problem might be to add the "X-UA-Compatible" meta tag to your HTML to tell IE to render in a different mode. For example, to tell IE9 to always render in IE8 mode:
<meta http-equiv="X-UA-Compatible" content="IE=8" />
There are many useful articles regarding this meta tag