FAQ Database Discussion Community


Styling Text Elements in Internet Explorer 8

css,internet-explorer,internet-explorer-8
.title { font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-weight: 800; color: #1e1e1e; font-size: 24pt; } https://jsfiddle.net/pa3ztdwt/ The above fiddle works fine in Google Chrome, but does not work in Internet Explorer 8. It seems that the font-weight property is not rendering properly in Internet Explorer 8. Do we have any...

Using getComputedStyle with IE 11

javascript,jquery,css,internet-explorer
NOTE: This has an update below. I will likely change description as it is not a getComputedStyle issue, it is an issue actually with print-media and the fact that Internet Explorer now supports document.styleSheets[].cssRules. I am a bit confused on this as I thought this worked and I am not...

Launch Chrome browser from Internet Explorer

javascript,google-chrome,internet-explorer,hyperlink
We have a web application which has some features that works only in Chrome and I want to launch this web app using Google chrome browser with url of the web app as parameter from Internet explorer via a hyperlink. I tried file:///C:/Program%20Files%20(x86)/Google/Chrome/application/chrome.exe but it downloads the file + how...

Add special characters to HttpContext.Current.Response.AddHeader()

internet-explorer,c#-4.0,httpresponse
I want to generate PDF file with special characters. My code is as follows: MemoryStream memoryStream = // get memory stream relevant to pdf file HttpContext.Current.Response.Clear(); HttpContext.Current.Response.Buffer = true; HttpContext.Current.Response.ContentEncoding = System.Text.Encoding.UTF32; HttpContext.Current.Response.AddHeader("Content-Disposition", string.Format("attachment;filename={0}.pdf", downloadLink)); HttpContext.Current.Response.ContentType = @"application/pdf";...

Font Face issues in Internet Explorer 8

css,internet-explorer,fonts,internet-explorer-8,font-face
I created a test page for IE 8 to see if i could use Google fonts. You can find the code at the end of the question. I am including every Google font i need by using a element with a list of them. Now, depending on the HREF attribute...

Flexbox does not seem to work in IE

html,css,internet-explorer,flexbox
For a website, I am using some flexboxes. Those boxes work perfectly in all browsers, except in IE. I'm going to give you a simplified version of what I'm doing below: <div class="row-fluid vertical-align text"> <div class="col-xs-16 col-md-8 leftText"> Some textblock, which has a 10 lines </div> <div class="col-xs-16 col-md-8...

Does ie read stylesheets outside of conditional comments?

html,internet-explorer,stylesheet,conditional-comments
I've been doing a bit of reading around this subject, and I can't seem to find an answer that specifically answers this question. Using this code as an example: <!--[if lte IE 7]> <link rel="stylesheet" type="text/css" href="ie-style.css" /> <![endif]--> <link rel="stylesheet" type="text/css" href="style.css" /> Would IE6 open and run it-style.css...

File upload using input type=file not working in IE for first file, works on subsequent uploads

javascript,jquery,html5,internet-explorer,upload
Upload functionality works perfectly fine in Chrome, however it doesn't work on IE 11. I'm trying to implement upload functionality by using the following dom element: <input type="file" id="file-upload" class="hidden-inputs"/> I'm triggering the click when the user clicks something else, the input itself is hidden. This is the code for...

Underscore.js template IE9 / IE10 not returning right code

javascript,internet-explorer,underscore.js,template-engine,underscore.js-templating
I have this code in my js file var selectedTagElement = _.template('$("#selected_tag_item_template").html()', item = { tag: label, value: value }); $('#wrapper_id').append(selectedTagElement); and this in my html file <script type="text/template" id="selected_tag_item_template"> <div class="tag_item selected js-selected_tag_item" data-tag-value="<%= item.value %>" data-tag-label="<%= item.tag %>"><%= item.tag %> </div> </script> Everything is working fine in all...

CSS MegaMenu Full Width in IE 10/11

javascript,jquery,html,css,internet-explorer
I am working on Superfish Menu with some custom styles to make menu full width and responsive. My project works perfectly on Google Chrome and Firefox, but not in IE 11. Take a look in this Sample * { margin:0; padding:0; } html { height: 100%; width: 100%; } body...

Style select::-ms-expand when disabled

html,css,css3,internet-explorer,css-selectors
How do I change the background colour of select::-ms-expand when it's disabled? select::-ms-expand{ background: #f60; } ...

Using angularJS click on enter form functionality in Internet Explorer

javascript,html,angularjs,internet-explorer,default
I have a form in angularJS like this: <form> <div class="row form-group"> <div class="col-xs-4"> <label>Product name:</label> </div> <div class="col-xs-8"> <input ng-model="vm.name" ng-disabled="vm.product.name"> </div> </div> <button ng-hide="1" ng-click="vm.addName()"></button> </form> The idea being that when a user enters a name the form locks it (inside addName()) and does an API call to...

IE 11 issue with flexbox item with max-width

html,css,internet-explorer,internet-explorer-11
In IE11 when an item items don't properly center if they have maximum width property. This example however works in Chrome and FF. .container{ display: flex; justify-content: center; align-items: center; background-color: blue; width: 100%; } .box{ background-color: red; flex-grow: 1; display:flex; max-width: 200px; } http://jsbin.com/riloravopu/7/edit...

Developers tool(F12) is opening in Internet Explorer when it is launched by watir-webdriver

internet-explorer,selenium,selenium-webdriver,watir-webdriver,developer-tools
I am automating a web application on Internet Explorer using Watir-webdriver and ruby. When I run my script in my Laptop[Win7(x64) and IE11] it is running without opening Developers Tool in Internet explorer. But When I test the same script in Virtual Machine[Win8(x64) and IE10], Intenet Exploerer browser opening with...

how to display mathjax formula in with internet explorer

internet-explorer,mathjax,joomla3.4
I've developed a website with joomla 3.x in which I've uploaded the mathjax script for displaying formulas. I can see all formula in every browser except with Internet Explorer in my smartphone Nokia Lumia, despite I can see them with IE in my pc. Is there a way to fix...

How to avoid wrap in IE7 when I have two ul in a navigation?

html,css,css3,internet-explorer,internet-explorer-7
In ie8 or firefox browser,My code runs well,the two ul are in the same line.But when I ie7,the two ul are in the diffrent line,How to make then in the same line in ie7? <DIV id='navigation'> <ul><li><span> leftspan </span></li></ul> <ul style='float:right;'> <li><span> leftspan </span></li> <li><a href="http://www.google.com" target="_blank">google</a></li> <li><a href="http://www.apple.com" target="_blank">apple</a></li>...

How to consistently crash IE 10&11? Reproducing “Internet Explorer to close and reopen the tab”

javascript,html,css,internet-explorer
This is a stupid question. Is there a way to consistently produce this error in Internet Explorer 10&11 with Javascript, css or HTML? A problem with this webpage caused Internet Explorer to close and reopen the tab. This is not for malicious webpage, I need to test some plugin and...

Internet Explorer hover/rgba/opacity/css3 compatibility

css3,internet-explorer,hover,internet-explorer-9,rgba
I am using CSS3 with an rgba alpha opacity hover to display text over an image when the user hovers. Works fine in chrome, firefox and safari but when trying in internet explorer (9) it just shows the image and hovering does nothing. Check out the code here: http://jsfiddle.net/b16pow50/ div...

htaccess rewrite condition not working in internet explorer

apache,.htaccess,internet-explorer
We have mutiple websites with the same code. The problem is this is working correctly in Firefox, Chrome etc, but it is not working in IE. My suggestion is that internet explorer sends a different/incorrect HTTP_HOST. But i can't figure out why. Can anybody help me in the right direction....

Phonegap developer app javascript Errors

javascript,cordova,internet-explorer,windows-phone
I trying to run my phonegap app with the "Phongap Developer app" on my windows phone, but it's throwing strange javascript errors, like this: Object doesn't supprt property or method "defineProperty" Object.defineProperty(Detail, "name", { get: function () { return this._name; }, set: function (value) { this._name = value; }, enumerable:...

IFRAME won't display 100% height in IE8, but fine in IE11 and Firefox

html,css,internet-explorer,iframe,internet-explorer-8
I have a HTML page with an iframe in a div. The iframe height should be 100% of the available window height. This displays as expected in IE11 and Firefox, but in IE8 the iframe remains at a fixed size, regardless of the window size or the iframe content. When...

How to implement IF statement in Protractorjs Spec.js file?

javascript,internet-explorer,selenium,selenium-webdriver,protractor
I am trying to run spec.js file for multiple browsers i.e., using Multicapabilities in conf.js. But I want one statement of code to be executed only for IE and I am trying to put that in IF statement by taking the title of the browser as the condition in IF....

No video with supported format and MIME type found

internet-explorer,firefox,video,html5-video
So i have this video element on my website <videogular vg-responsive="true" vg-theme="config.theme.url" vg-player-ready="onPlayerReady($API)" vg-complete="onCompleteVideo()" vg-theme="config.theme.url"> <vg-media vg-src="config.sources" vg-tracks="config.tracks" vg-native-controls="true"> </vg-media> IF i view this in chrome there is no problem and the video is displayed if however i view the same page in Firefox i get the following error: No...

AJAX in Internet Explorer 11 - Don't cache

javascript,ajax,internet-explorer
I have an issue with AJAX in the IE 11. My page is asking sone values via AJAX form the server using this code: var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp = new...

My input fields render inline on IE, but on new lines in Chrome and Firefox. How can I fix that?

html,css,google-chrome,internet-explorer,html-rendering
What do I need to change to make Chrome and Firefox render the same way as Internet Explorer? My first idea was to use CSS calc(), but I still need to support IE8. I have the following CSS: * { box-sizing: border-box; } .Width300 { width: 300px; padding: 5px; border:...

Trying to fire onclick event asp:ImageButton [closed]

asp.net,visual-studio-2010,internet-explorer
My asp:ImageButton doest not fire onclick event on IE, but is working normally on chrome or firefox. Don't know if my code is right, but is here: <asp:ImageButton ID="SaveBtn" runat="server" OnClick="Save_Click" ToolTip="Save" ImageUrl="images/save.png" /> Using .NET Framework 3.5 Note: IE10...

How can I force IE to *not* use compatibility mode?

html5,internet-explorer,internet-explorer-10
I have looked through stackoverflow quite a bit and found that the following is the most recommended way to force non-compatibility mode: <meta http-equiv="X-UA-Compatible" content="IE=edge" > My issue with these answers is that they are all IE 8 & 9 era answers. Is this still the way to force to...

HTML/CSS menu not working on IE

html,css,internet-explorer
I'm working on a website and I was happy that all was looking good on Chrome, Firefox and Safari. Then it came it suddenly in my mind, I started sweating, the heart started beating fast.. oh God, I have to test it on IE! And, of course, it doesn't work...

Auothotkey: Remove string, placement string in subject box

internet-explorer,autohotkey
Can somebody help me out, finding why my code doesn't work ? My code: #b:: pwb := WBGet() pTable:= pwb.document.GetElementsByTagName("Table") [4] ;outerHTML ;Set Tag name and Array value Loop, % pTable.rows.length { LSN:= pTable.rows[9] .GetElementsByTagName("TD") [1].outerHTML ; LSN protocol:= pTable.rows[9] .GetElementsByTagName("TD") [3].outerHTML ; Protocol Site:=pTable.rows[10] .GetElementsByTagName("TD") [1].outerHTML ; Site Requisition:=pTable.rows[12]...

Give HTML time to render its text

javascript,html,internet-explorer,vbscript,hta
I have a very long VBScript code which runs in an HTA. The script includes DOM manipulation, DLL calls, and other scrips. Now I had a problem because it takes a significant amount of time to render the text on screen because there are a lot of scripts that pause...

IE Input type Date not appearing as Date Picker

internet-explorer,date,datepicker
I am using the input type DATE in my HTML and everything works fine in Chrome and Firefox, but IE does not show the date picker. When I use the JQuery Datepicker I get two date picker dialogs in Chrome and Firefox. How can I fix this where I can...

IE11 slow / freeze with AngularJS's ng-repeat rendering

javascript,angularjs,internet-explorer,browser
Currently I have a very sublte problem to solve with IE11 and AngularJS. My page consists of two nested ng-repeat to create a tabset with a table inside any tab. Here the code: http://pastebin.com/0fffPz5Z In the code, each application's object have around 1.000 item's related objects. With a Chrome, Safari...

IE 11 browser back button Detect

javascript,jquery,internet-explorer
How do I detect the browsers back button is clicked in IE 11 browser. In IE <10 browsers we can achieve this functionality using the following: (window.event.clientX < 40 && window.event.clientY < 0). Please share your thoughts....

How to get the currentDate in Javascript for IE?

javascript,internet-explorer,date
I already did some reasearch and found out that you need to format a date String because the IE can't handle some formats. But the problem is that I don't even get a current date string to format. Date.now() or Date.time() I also tried this if-statement: if (!Date.now) { Date.now...

Why can't I switch window on IE with robotframework?

internet-explorer,robotframework,browser-automation
I'm getting an error when switch to popup window. My case: Open Login page . Enter username & password Click Login button (after clicking, display popup window and main window is closed at the same time). Click a button on popup window. .... Here's my script: Open Browser | ${login...

In IE, anchor text is overflowing/overlapping instead of wrapping, but not other text

html,css,internet-explorer,drupal-7
I am running into an annoying problem I have yet to solve. Before I get too far into this I will point out that I am doing this in Drupal 7 (so no need to comment about the excessive wrapper elements, I already know). The problem is that in all...

SoundJS — sounds played via instances not working in IE

internet-explorer,createjs,soundjs
I've run into some inconsistent behaviour between browsers with SoundJS, namely that IE11 is stingy about playing from Abstract Sound Instances. The following code works in every other browser I've tested, but not in IE11: <html> <head> <script src="https://code.createjs.com/soundjs-0.6.1.min.js"></script> <script> var sounds = {} function loadSounds() { createjs.Sound.registerSound('audio/song.mp3', 'song', 1);...

Why does IE show junk for my dasBlog blog?

internet-explorer,dasblog
If I look at my blog in Chrome or Firefox, it looks as I expect. However, if I try to look at it in IE (11.0.9600.17801) it asks me if I want to download W69NUE8S (or some other random file name), which looks like some binary file. http://dotnetwhatnot.pixata.co.uk/ I tried...

IE6 - custom tags without namespaces

javascript,html,internet-explorer
Is it possible in Internet Explorer 6 - yes, IE6 :( - to use custom tags without defining namespaces. Example: <!-- NS is namespace --> <html XMLNS:NS> <head> <style type="text/css"> NS/:myTag { color: #666; font-size: 20px; } </style> </head> <body> <NS:myTag> The quick brown fox jumps over the lazy dog...

Select picture failure at IE and Firefox

javascript,html,google-chrome,internet-explorer,firefox
Why when I modify $(document).mousemove and $(document).mousedown to $(".desktop").mousemove and $(".desktop").mousedown, it does not run as I expect in IE and firefox, but ok in Chrome. Javascript file using in the html file:http://pan.baidu.com/s/1sj9fpKh <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <!-- saved from url=(0033)http://demo.jq22.com/jquery-win7/ --> <!DOCTYPE html PUBLIC "-//W3C//DTD...

Java exception detected in safari but not detected in IE?

java,internet-explorer,nullpointerexception,safari
I have a java applet code that works fine when it's opened from IE, but if it's opened from Safari, Java console produces a nullpointerexception. The code that generate this behaviour is shown below: public class MsgBoxPanel extends JDialog { Panel panel1 = new Panel(); JLabel label1 = new JLabel();...

How to rotate and translate using CSS in IE8?

css,internet-explorer,internet-explorer-8
We've added some new fancy css to our page that uses transform rules, however we need to keep compatibility with IE8 and those rules don't work there. All we did was rotate and translate a few elements and I managed to do the rotation in IE8 using this code: -ms-filter:...

JavaScript Date not working properly in IE8 [duplicate]

javascript,google-chrome,internet-explorer
This question already has an answer here: Javascript JSON Date parse in IE7/IE8 returns NaN 6 answers Chrome showing result as expected but IE-8 giving NAN when i execute the following: Chrome: d = new Date("2014 12 01") // results Mon Dec 01 2014 00:00:00 GMT+0500 (Pakistan Standard Time)...

jQuery & CSS only load after many refreshes

jquery,css,html5,internet-explorer,internet-explorer-11
If you open this page in IE11, the CSS and jQuery don't load: http://javasmart.gooberdev.com/ If you refresh the page once, maybe even twice, it still doesn't load. But if you hit F5 a bunch of times in succession, the CSS and jQuery finally load and the page displays correctly. This...

Parsing a JSON object of arrays gives different results in IE9

javascript,arrays,json,internet-explorer,highcharts
Intro I am working on creating a HighCharts graph from a DataTable table. What I do is iterate over the the rows and columns of the table, convert the strings (we use different thousand separators from the US) to numbers and save them into an object called item. the object...

String replace with regex, ie strange results

javascript,regex,google-chrome,internet-explorer
Why i have this results? "hello world".replace(/[']/gi, "\\'"); // on chrome => "hello world" "hello world".replace(/[']/gi, "\\'"); // on ie => "hello world" "hello world".replace((/[']/gi).compile(), "\\'"); // on chrome => "hello world" "hello world".replace((/[']/gi).compile(), "\\'"); // on ie => "\'hello world" Chrome: 43.0.2357.124 m IE: 11.0.10011.0...

Call onkeyup function while doing automation

internet-explorer,powershell,automation
I am trying to perform IE automation using PowerShell. While automating some manual task using IE object, I am able to navigate to the website and enter value in text box, but the submit button available on website can only be triggered after a key up event is fired in...

Strange JavaScript Object syntax

javascript,google-chrome,internet-explorer,javascript-objects
I recently came accross this in a Library called WebApp.net: var $h = { get HEAD() { return 0 }, get BACK() { return 1 }, get HOME() { return 2 }, get LEFT() { return 3 }, get RIGHT() { return 4 }, get TITLE() { return 5 }...

“width: calc(100% / 3);” not working properly in any IE

css,internet-explorer,width,rounding,calc
I have a 3 column layout that should fill the whole screen so on my columns I am using: width: calc(100% / 3); So lets say for example my screen is 782px wide: 782 / 3 = 260.66̅ However the problem I have is in Internet Explorer, where it rounds...

correct HTML pages won't load in IE10

javascript,jquery,html,internet-explorer,browser
I'm editing someone elses webpage for content, by changing the HTML files on the drive, adding text, comments, wtv. I'm not a web designer, so this is the only way I knew to do it. On most browsers, my changes show, but on internet explorer, sometimes it will revert to...

How to properly finish Internet Explorer that's launched from Powershell?

internet-explorer,powershell,com
There was a set of recently asked questions about doing something with Internet Explorer via Powershell. All of them contain codes to launch IE from Powershell as an object, via $ie=new-object -comobject InternetExplorer.Application. The problem is, the proper way of closing IE that consists of calling $ie.quit() does not work...

IE 10 Flexbox height bug?

html,css,internet-explorer,internet-explorer-10,flexbox
I am unable to figure out why IE10 adds extra margin's or height to the green element below. http://jsfiddle.net/q4ofmfar/ Expected style as displayed by most browsers: Incorrect style as rendered by IE10.0: http://jsfiddle.net/q4ofmfar/ HTML <div class="row"> <div id="box1"> <div> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris dapibus vehicula...

Can I disable IE compatibility mode only for content within a ?

internet-explorer,frameset,ie-compatibility-mode,html-frames
Ive developed a Web Application that runs in my company's intranet. I had an issue with Internet Explorer's automatic compatibility mode earlier in my process, and added code to force my pages to be displayed in the newest version of IE: <meta http-equiv="X-UA-Compatible" content="IE=edge" /> This worked perfectly. Until my...

What is the proper way to get the value of a React