FAQ Database Discussion Community


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

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

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

Where does default USER PROFILE for the Internet Explorer lives and how do I access it from Selenium?

internet-explorer,selenium
Each time I run a test, I get a new instance of IE, which completely ignore all my settings. I solve the same problem in Firefox and Chrome by setting the option for those browsers to look for a specific user profile. FirefoxProfile profile = new FirefoxProfile(path/to/profile"); public static readonly...

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

website not working on Internet Explorer

internet-explorer,browser,cross-browser,hover
I have a vertical menu in a side bar with a hover over submenu however in IE the hover menu decides to appear in the middle of the page. I'm using IE11 so it doesnt support the IE only css. I'm not sure what has cause the problem..here is a...

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

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

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

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

Remove mysterious space that IE9 creates around

html,css,internet-explorer,internet-explorer-9
I'm trying to learn how to make crossbrowser pages and stuck at dealing with IE9: it creates some space near the <img>, see example Look at the rightmost image, it should appear here. If space doesnt appear, hover the mouse over the image. Can't imagine what's wrong, this image is...

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

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

Switching between windows

internet-explorer,autohotkey
Backgroud: Our Call Center have special "Main" program to work in it. When incoming call it is appear "small pop-up window". Also, we have browser-style CRM. All this is running on Windows 7. When incoming call, client page in IE is loading. So, Call Center worker, to see client page,...

Background-image style with JS not working in ie9

javascript,jquery,html,internet-explorer
I'm working on a site and im having some issues with my slider in IE9. What I've done is that I've made a div that gets the background image changed every few seconds depending on the img tags within. You can see it in function here: http://diakondk.quine.pil.dk/ It works wonders...

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

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

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

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

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

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

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

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

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

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

OverCls is not working in IE11

javascript,css,internet-explorer,extjs
I am working with extjs 4.2 and need an advice to solve this small bug. I have an extjs button in my js file as: { xtype : 'button', text : 'Add Drive', padding : '10px 10px 10px 10px', overCls : 'overDrive' } and my in my css i have...

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

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

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

Grails restrict old browsers

internet-explorer,grails
I'm running in Grails v2.4.4. How can I prevent user access web in the old browsers. This page works only on IE9 or higher. How can I stop them with lower? I looked on Grails plug in and found browser detection plugin. But in seems to work on view site...

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

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

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

Internet Explorer Jumpy Scrolling

javascript,jquery,internet-explorer,scroll
I have this code to keep a heading element at the top of another element that scrolls. It works perfectly in Firefox and Google Chrome however in IE it's excruciatingly jumpy. The code itself is very simple and I can't think how to potentially improve it. In Chrome and Firefox...

show a div with jQuery if the user is on IE 9 and below

javascript,jquery,internet-explorer,internet-explorer-9
How could I detect (with jQuery) if the user is on IE 9 or below, and if they are .show() a div? I have successfully done the below with jQuery for Android. How could I do a IE 9 AND below condition? Done similar with Android. (would like a similar...

Fancybox list of pictures not showing up in Internet Explorer

jquery,internet-explorer,fancybox
I am currently using fancybox for my image gallery. I am having serious difficulty with getting it to work well in Internet Explorer. Every other browser I have tried works - besides Internet Explorer. The Problem: Every time I reload the page, some of the pictures show, and others do...

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

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

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

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

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 to set the IEDriverServer.exe through command line in protractor

internet-explorer,selenium,selenium-webdriver,webdriver,protractor
I would like to set the IEDriver executable path via command line while using protractor. I am using the following command, but it is not considering path to the IEDriver executable. cd > protractor --seleniumArgs "['-Dwebdriver.ie.driver=../selenium/IEDriverServer.exe']" conf.js I am getting the error: var template = new Error(this.message); ^ UnknownError: The...

“Object doesn't support this property or method” when setting an object property in IE8

javascript,internet-explorer,cross-browser
I'm trying to make draggable elements without using jQuery. I'd like it to be compatible with IE8. The following breaks at this.handle = { with the error, "Object doesn't support this property or method." Does IE9< have some goofy hang-up when it comes to setting object properties? var Draggable =...

With jQuery, IE<9 fails appending bundle of elements with text node. Is this jQuery bug?

javascript,jquery,html,internet-explorer
With jQuery 1.11.3, I found elements are disordered in IE<9, when I append() a bundle of elements including text node. Is this jQuery bug, or mine? Test Code: <!DOCTYPE html> <html> <head> <title>jQuery test</title> <script src="http://code.jquery.com/jquery-1.11.3.js" charset="utf-8"></script> </head> <body> <div id="div"></div> <script> $('#div').append( $('<span/>', { css: { color: 'red' },...

IE 7 and 8 Google Website Translator fails with Error: hasOwnProperty in element.js

internet-explorer,google-translate
We use the Google website translator dropdown on several web sites. A few days ago we noticed that initializing the dropdown shows JavaScript errors on IE 7 and IE 8. The exact source of the error is in line two of the code returned as http://translate.google.com/translate_a/element.js where it says a.hasOwnProperty(b[c])?...

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

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

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

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

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

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

single Ajax Post request not working in IE

javascript,jquery,html,ajax,internet-explorer
I have some code that uses jquery to create dialogs from some hidden forms in my html: $("#editdeletediv").load().dialog( { //Set options for the dialog here title: 'Edit/Delete log', modal: true, autoResize:true, maxWidth: 600, minWidth: 500, buttons: { Delete: function(){ $('#confirmdelete').load().dialog( { //Set options for the dialog here title: 'Confirm deletion',...

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

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

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

VBA skipping code directly after submitting form in IE

vba,internet-explorer,excel-vba,web-scraping
Currently I have 2 pieces of code that work separately, but when used together they don't work properly. The first code asks the user to input information which is stored. It then navigates to the correct webpage where it uses the stored user input information to navigate via filling and...

jquery validation IE Object doesn't support property

jquery,internet-explorer,jquery-validate
I am using the jQuery validation plugin. If i try to set custom field to highlight it shows an error only in IE (tested on IE11 and IE10). Console error is Object doesn't support property or method 'closest' and points to the line in "highlight" part. The code is: $(document).ready(...

Link with negative z-index not clickable in IE

html,css,internet-explorer,z-index
Can anyone give me a hint why the link in the gray box is not clickable in Internet Explorer (I'm using version 11). http://jsfiddle.net/rk7n7xjj/1/ I tested it in any other browsers and it works fine. HTML <div class="gray"><a href="#bla">This link is not clickable in IE</a></div> <div class="yellow">Some placeholder text</div> CSS...

Internet Explorer 11 default document view mode to Edge

jquery,asp.net,internet-explorer,networking,intranet
I have windows 7 and IE 11 installed in my local machine. I working on ASP.NET, C# web application used bootstrap, Jquery etc. I have created one checkbox dropdown list (ref: http://www.aspsnippets.com/Articles/Multiple-Select-MultiSelect-DropDownList-with-CheckBoxes-in-ASPNet-using-jQuery.aspx). But my local intranet website is showing default document view mode 7 and check box drop down list...

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

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