FAQ Database Discussion Community


How do I wrap text in a pre tag for Internet explorer?

html,css,internet-explorer,whitespace,word-wrap
I am using following code to wrap the <PRE> region in HTML: <PRE style = "white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"> It is working fine on chrome and Mozilla but the same is not working for IE. I am using IE9. Please tell me if any...

Internet Explorer misinterprets html tags

html,css,html5,internet-explorer
Internet Explorer misinterprets website: it reads <tag></tag>bla bla</tag><//tag> instead of <tag>bla bla</tag>. For instance the code of the nav section is: <nav> <ol> <li><form action="Algemene Voorwaarden Bijles Studio.pdf" method="get" target="_blank"> <button>algemene voorwaarden</button> </form> Bla Bla </li> </ol> </nav> But the inspect element function of IE shows the following: <nav></nav> <ol>...</ol>...

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...

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...

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...

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...

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...

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...

How do I prevent jquery from reloading an animation in IE mouse hover?

jquery,internet-explorer,internet-explorer-9
I have an animation that plays on mouse over on a containing div. In IE9+ if the user hovers over an element inside that container it replays the animation. My basic setup is: <div class="book"> <img src="bookcover.jpg" /> <div class="overloay"> <p class="title">Book title</p> <a href="#">read book</a> </div> </div> When the...

How To Write Acceptance Tests for Internet Explorer with: Selenium, PHPUnit and Mac OS X?

osx,internet-explorer,selenium,phpunit,acceptance-testing
I'm trying to write acceptance tests for a project using multiple browsers. All the tests run fine with: Firefox, Chrome and Safari. However, I don't know how to run them in Internet Explorer. I use: PHPUnit, Selenium and Mac OS X. I also use VirtualBox with Windows 8 and Windows...

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...

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);...

Modal not working in IE10, but works fine in other browsers

html,css,internet-explorer,internet-explorer-10
I am creating a modal dialog based on a CSS only approach from the online example below. It works great in IE 11, Chrome and Firefox, but in IE 9 and IE 10, the modal doesn't work. In IE 9 and IE 10, you can't click any of the content...

Why the footer doesn't appear on IE10 and IE9?

javascript,jquery,html,css,internet-explorer
My page works fine on IE11 and on Google Chrome, but when I try to open it using IE10 and IE9, It doesn't appear, it looks like it has been cut, and the scrolling bar doesn't appear as well, If someone can tell me what I'm doing wrong, I'd be...

How to change background-color of selected option in IE11?

html,css,internet-explorer
The below code gives background color of selected option as green (#7FFF00) in IE8 and IE9 but as black in IE11. So, how can i get the same background color in IE11 also. Is it possible to do so using CSS ? <!DOCTYPE html> <html> <head> <style> .car-select option[selected] {...

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...

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...

Triggering a change event for Internet Explorer

javascript,jquery,internet-explorer,event-handling
I have several select menus that needs that need to have their change events triggered on page load, so that they can automatically use the change behavior from an on('change', ...) handler. I have it working fine in Firefox, but apparently this doesn't work in Internet Explorer. Example var changeEvent...

“linear-gradient” not working in IE9 and Safari

html,css,css3,internet-explorer,safari
I try to apply a style to a button but this style displays well on Mozilla and Chrome then it is not the case for Safari and IE9. Here is the css class: #bt_D{ width:130px; height:30px; box-shadow:1px 2px 4px rgba(0,0,0,0.60); font-size:12px; background-image:linear-gradient(60deg, rgb(231,110,49), rgb(231,171,49)); border:1px solid rgb(180,180,180); border-radius:5px; float:right; text-align:center;...

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...

Javascript - Apply() breaking IE 9

javascript,jquery,internet-explorer,internet-explorer-9
I have this object: var _intervals = { intervals: {}, _add: function (fun, interval) { var newInterval = setInterval.apply( window, [fun, interval].concat([].slice.call(arguments, 2)) ); this.intervals[ newInterval ] = true; return newInterval; }, _delete: function (id) { return clearInterval(this.intervals[id]); }, _deleteAll: function () { var all = Object.keys(this.intervals), len = all.length;...

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>...

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]...

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....

Check if code is compatible with IE 5

javascript,html,internet-explorer
I have to make a website that is compatible with IE 5+, It has to work with IE5+ because the device im working with uses Windows CE 5 or 6 and i cannot update the IE to a more recent version. I've made a javascript code with a couple of...

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; } ...

SSL certificate error 403.13 in IIS 7.5

internet-explorer,iis-7,ssl-certificate,sha1,http-status-code-403
I'm getting 403.13 in IIS logs, when I'm trying to access my api using the created certificate(sha1). Further I tested the same certificate in other test environment it works treat and I get the the XML from the api without any issue. Certificate pfx is installed in Certificate store and...

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...

User Getting Logged out in IE when closing browser

internet-explorer,session,cookies,p3p
I am running a Drupal 7 site and am noticing a problem on IE9, when the browser window is closed the user is logged out. We have "remember me" module enabled and the cookie is set to not expire. There is no issue on Chrome or any other browser, you...

Running selenium tests on Virtual box guest

eclipse,windows,internet-explorer,selenium,virtualbox
So i am trying to run Selenium tests written in Java through Eclipse on my guest machine. My host machine is Windows 7 and I am running Windows 7 guest machine. I have set 2 network adapter NAT and Host only. I am farily new to the whole Selenium testing...

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