internet-explorer-11

Font-face not working in IE, otf font

大城市里の小女人 提交于 2019-11-29 19:57:32
问题 I know this was asked multiple times, but I couldn't get it to work after trying them. This is the simple CSS I am using to import a custom font. Also, I am using this with bootstrap. @font-face { font-family: Montserrat-Black; src: url(Montserrat-Black.otf); } It's not working in IE11 itself. Please help me out. Thank you. 回答1: Internet explorer use eot format (legacy) or woff. See MSDN Anyway i use this code for maximum compatibility: @font-face { font-family: 'MyWebFont'; src: url('webfont

Is there a Microsoft equivalent for HTML5 Server-Sent Events?

守給你的承諾、 提交于 2019-11-29 19:37:10
I am using HTML5 Server-Sent Events as follows: SSEUpdate = new EventSource("http://example.com/update.php"); SSEUpdate.onmessage = function(e){ console.log(e.data); } It does not work in IE11. (Error in console: 'EventSource' is undefined ) Is there an identical Microsoft equivalent, or do I have to do something completely different? In a word, no. Microsoft has not included SSE or an equivalent of SSE in any version of IE. IMO, you have two good options: Use a polyfill - My tests with this polyfill in IE10 and IE11 were all successful. Since it starts with if ("EventSource" in global) return

Remove 1px transparent space from CSS box-shadow in IE11?

帅比萌擦擦* 提交于 2019-11-29 16:49:35
问题 I'm using CSS box-shadow to mimic a background that "bleeds" to the edges of the browser window. It works great in Chrome, Firefox, Safari, and Internet Explorer 9 & 10. However, Internet Explorer 11 renders a transparent 1px "space" before the left (negative) box-shadow. Take this HTML: <div class="wrapper"> <div class="widget">Test</div> </div> And this CSS: .wrapper { background:red; padding:20px 0; } .widget { width:600px; height:400px; margin:0 auto; text-align:center; background:white;

Masking input characters without type=password

喜欢而已 提交于 2019-11-29 16:35:51
问题 So I have a problem with newer browsers saving passwords. Say I have a password box like so: <input type="password" autocomplete="off" /> New browsers like IE11 and Safari in iOS 7.1 have started ignoring the autocomplete="off" in password boxes specifically and offer the user to save the password. In my company (a bank), we view this as a security concern. I was wondering if anybody has solved this problem yet. Maybe somebody has written a javascript plugin that masks a normal input[type

Is there a way to detect the new IE version on Windows Phone 8.1 Update 2?

↘锁芯ラ 提交于 2019-11-29 16:03:17
Every update to Windows Phone brings new features/bugs to the internal Internet Explorer. We wish to know a way to detect 8.1 Update 2 (GDR2). Presumably there is a feature or bug that can be sniffed for one of: a feature added into GDR2, or a bug in GDR1 now fixed in GDR2, or detect a bug added to GDR2 (unstable sniff, so much less desirable because bug likely to be patched). Note The changelist given by microsoft. Also note feature detection is used when possible, but sniffing is still needed because: (1) you cannot always find a way to detect the feature/bug (some CSS bugs, some bugs that

In IE11 using pseudo element ::before and display:table-cell and glyphicons contens wont show up

元气小坏坏 提交于 2019-11-29 14:45:21
I've spent a rather good time on this now but cant come to a solution. My problem is that I want to display a glyphicon before the content of a text-block and that element with the icon has should fill up all the height that the body needs. This works in all browser versions except IE. I have boiled it down in this fiddle <div class="block"> <div class="body">BODY</div> </div> .body::before { background: blue; content: "\e005"; font-family: "Glyphicons Halflings"; display: table-cell; width:30%; } .body { background-color: green; display: table; width: 25%; } If you add/remove the display:

html forms crash IE 11

▼魔方 西西 提交于 2019-11-29 11:20:00
I have the following code. User fills and submits the first form. When he hits "submit" the data is stored in the db via websockets. At the same time , server returns a new id just created. This id is stored in a hidden form. The submit button of the hidden form appears after the id is returned. If users wants hits the submit of the hidden form (no longer hidden now) and transfers to another page, where the id is also transefer via the form. In the first form the user can hit a button and more text fields will appear, so he can add data. The max number of those test fields is 10. I wrote the

CrossPostback ,AJAX Controls and ASP.NET generated postbacks work for .NET 4.5 , not .NET 4.0 in IE 11

℡╲_俬逩灬. 提交于 2019-11-29 11:04:51
I had posted and answered the question earlier. WebResource.axd not working with Internet Explorer 11 But I thought the hotfix had fixed the issue(CrossPostback ,AJAX Controls and ASP.NET generated postbacks not working) but after installing in QA , it didn't work and we realized it was .NET 4.5 that made things work . I am under the process of comparing .NET frameworks folder between .NET 4 and .NET 4.5. What I needed to ask what could in .NET 4.5 really resolve the IE 11 issue. The major change in IE 11 is the user agent string. What particular fix in .NET 4.5 could have resolved the

Strange behaviour with spliting a string in Javascript

。_饼干妹妹 提交于 2019-11-29 11:01:45
I am trying to do something relatively simple. I have a date in this format dd/MM/yyyy eg: var newDate = "‎11‎/‎06‎/‎2015"; And I want to convert it to a date. This code only works in Chrome and Firefox: new Date(newDate) In IE11 I get Nan So I am trying to do this: var parts = newDate.split("/"); var year = parts[2].trim(); var month = parts[1].trim(); var day = parts[0].trim(); var dt = new Date(Number(year), Number(month) - 1, Number(day)); Which should work, but I have encountered a very strange bug. If you try this code: function myFunction() { var newDate = "‎11‎/‎06‎/‎2015"; var parts =

Table cells height calculated differenly in IE11

隐身守侯 提交于 2019-11-29 09:37:26
The problem I face is IE 11 seem to have inconsistent <td> inner height across single <tr> while other browsers keep it the same. Here's a pen illustrating my problem: http://codepen.io/anon/pen/emKEBZ In my layout I have an absolutely positioned pseudo-element (green border) which I want to display on a (outside) <td> . I'd like it to be always as high as the whole <tr> it is in. The content of <td> s is dynamic - I have no control over it's size (like I do in the pen). I gave it height: 100% , assuming that every <td> in a row has the same height. td { position: relative; } td:before {