Questions tagged [ie8-browser-mode]

sets User Agent, conditional comments version number, and document mode to Internet Explorer 8 in any version of Internet Explorer. This can be changed in IE's Developer Tools Browser Mode menu item.

sets User Agent, conditional comments version number, and document mode to Internet Explorer 8 in any version of Internet Explorer. This can be changed in IE's Developer Tools Browser Mode menu item.

66 questions
72
votes
4 answers

IE8 browser mode vs document mode

Can someone please explain the difference between IE8 browser mode and document mode in simple terms? What causes the browser mode to change? What causes the document mode to change? If a user changes the mode(s) via developer tools, does the…
mkoryak
  • 57,086
  • 61
  • 201
  • 257
71
votes
13 answers

Force "Internet Explorer 8" browser mode in intranet

There are "Internet Explorer 8", "Internet Explorer 8 Compatibility Mode", and IE7 mode in IE8. However, the default setting in IE make all intranet website use "IE8 Compatibility Mode" even I have setted doctype, the meta tag, http header as…
33
votes
2 answers

Why jsfiddle is not rendering at all in IE8 and previous versions?

I tried to open http://jsfiddle.net/ in IE8 with BrowserMode-- IE8 and Document Mode--IE8 in developer tools. In other browsers it's working fine, and even in IE9 it's working fine. But I see javascript errors in IE8 and older versions of…
SRy
  • 2,901
  • 8
  • 36
  • 57
12
votes
4 answers

page opens in IE7 document mode instead of IE9

I know many variations of this question have been asked here but so far no solutions I have tried work for me. I would like my web app to open in IE9 document mode in IE. When I open the page now, it always opens in 'Internet Explorer7 Standards),…
10
votes
1 answer

Change IE Document Mode with Javascript?

Is it possible to change the IE document mode with Javascript? I won't get into the nitty-gritty details here, but I'm fighting with a locked down Drupal site that will not allow me any acces to edit the theme files. Obviously, the correct thing to…
Sam
  • 2,152
  • 6
  • 31
  • 44
6
votes
2 answers

IE8 not displaying textarea resize bottom right corner

I'm using IE8 but the textarea resize bottom right corner is not displaying. This same code works ok in Firefox. I also noticed the same problem in some online examples when using IE. Anyone knows the trick to display the resize bottom corner in…
Marquinio
  • 4,601
  • 13
  • 45
  • 68
5
votes
2 answers

Missing stylesheets/scripts/images when using BASE element for a local html file rendered in IE8 in IE8 standards mode

We have some HTML pages (local, not on a web server) that use the BASE element to identify a specific base directory that contains a bunch of common stylesheets and images. Here is an example (page is stored in c:\temp\html\test.html, resources…
fubaar
  • 2,489
  • 1
  • 21
  • 21
4
votes
1 answer

Invalid argument in IE9.js (code 0) in Line: 6 Char: 28214

I am using IE8 in compatibility view and while this does produce acceptable rendering, this only happens after a refresh. When the page is first loaded, it wouldn't display at all (staying at the previous page) and only give this error: Invalid…
3
votes
3 answers

How to detect whether salesforce lightning app is running on a mobile browser or desktop browser?

We have salesforce lightning app which runs on both mobile and desktop. Need to write some code only for mobile application. How to detect whether app is running on a mobile browser or desktop browser? I used following code but its not…
Kitty
  • 157
  • 5
  • 14
3
votes
2 answers

Floated text with resizing image fails in IE8

I have the following simple example of an img and a p floated next to each other in a div. If you uncomment the last bit of CSS, the text drops below the image and stays there - but only in IE8 Standards mode. How do I get the image to resize in…
3
votes
1 answer

Why do i get the error "'Page_Validators' is undefined" when I switch the IE Browser Mode from IE9 to IE8?

I am developing a web page using ASP.NET unobtrusive validation. When I view my page in IE9 using the default IE9 Browser Mode, the page works as expected. However, when I simply switch the Browser Mode from IE9 to IE8, I receive the following…
2
votes
2 answers

How to turn on IE8 Compatibility View programmatically

I have some JQuery in a SharePoint webpart and it is not loading properly using the Quirks Mode with IE8. It works fine with IE8 Compatibility mode. it also works great using IE7 or IE8 Standard mode but that messes up the CSS on the custom master…
2
votes
1 answer

How to dynamically create CSS class in IE8

I need to create a CSS stylesheet class dynamically using JavaScript in IE8. I have used following code for other browsers: var style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = '.cssClass { color: #F00;…
Akbar Basha
  • 1,168
  • 1
  • 16
  • 38
2
votes
1 answer

JavaScript - convert object to string ( stopped working )

I have javascript object which i need to convert into string. var obj = {"name": "XXX", "age": "27"}; After googling i have got JSON.stringify(obj); JSON.stringify(obj); is working fine if IE8 modes are same as below Browser Mode : IE8 Documentn…
user2908290
2
votes
1 answer

Will there be any differences in a page thats rendered in IE7 compared to the same page rendered in IE7 standards mode in IE8 browser?

I've a page "Y" in an iframe in page "X" (parent). Page X has http header : `X-UA-Compatible IE=EmulateIE7` and no meta tag and has doctype : `DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"…
1
2 3 4 5