internet-explorer-10

IE 10's -ms-clear pseudo-element, and IE5 quirks mode

假装没事ソ 提交于 2019-11-30 09:59:22
I'm working on a legacy web app that requires use of Internet Explorer's 'IE5 Quirks Mode' (set using X-UA-Compatible: IE=5 ). A number of text fields in the app have (app-generated) 'x' buttons to clear the content. In IE10, IE also generates an 'x' button to clear the field, so the user sees two of them. As discussed in this question , you can remove the IE-generated 'x' using the ::-ms-clear CSS pseudo-element. Unfortunately, this appears not to work in IE5 Quirks Mode: styling of the ::-ms-clear pseudo-element shows up in the developer tools as :unknown , and the IE-generated 'x' continues

Internet Explorer automatically switches to compatibility mode (IE9 and IE10)

蓝咒 提交于 2019-11-30 09:25:20
On certain page on my site, Internet Explorer automatically switches to compatibility mode and tries to render the page in compatibility view (IE7 mode). Also the URL gets added to the compatibility view list. webextensions.org In my case, it happened due to some CSS using Type 1 font ( Helvetica ). Internet Explorer changed its font-rendering from IE9 (affects IE10 as well) which does not support the old Type 1 fonts. But still some users manually install fonts (for me, it was Helvetica, tested on Windows 7, IE9 and IE10 both). Now if you use CSS like: font-family: Helvetica, Arial, sans

IE 11 document.selection does not work [closed]

好久不见. 提交于 2019-11-30 08:52:42
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am trying to deselect selected content in HTML editor. I have used selection.empty() function for deselecting content it is working fine up to IE10 but it is not working in IE11. Also the create function is not working in IE11 Is there any alternative function for this? 回答1: IE11 replaced the legacy API with a

Will/Does IE10 Support Touch Events?

浪子不回头ぞ 提交于 2019-11-30 05:14:15
I'm looking at doing a project that would target Internet Explorer 10 using a touch screen. I don't currently have a touch screen handy, but need to know if Internet Explorer 10 does or will support DOM touch events. Update : Touch Events are in development in Internet Explorer. While IE10 will not support the touchstart and touchend type of events, it will support an arguably superior model consisting of Pointers. These generic pointers capture input from pens, mice, and fingers. A great primer was given in the post Touch Input for IE10 and Metro style Apps , dated Sept, 2011. You should be

Viewport for IE10 & 11 desktop, but not mobile

社会主义新天地 提交于 2019-11-30 03:57:15
问题 I build a lot of responsive sites. I'd like to support IE10 and IE11's snap modes, but I can't do it fully without breaking support for Windows Phone 8. This is the code I'm currently using, in my CSS: @media screen and (max-width:400px) { @-ms-viewport{ width: device-width; } } It works alright, but if IE10/11 isn't snapped to the smallest position possible, the site displays as zoomed out. If I get rid of the media query, it displays correctly in IE10/11 on desktops and tablets, but it

contenteditable not working in IE 10

拜拜、爱过 提交于 2019-11-30 02:50:55
问题 I am trying to create client side editable table. Here is my code. It works in Chrome, Firefox but not in IE. Is there anything more to do with script for IE? <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script> $(document).ready(function() { $("td").click(function(){ if($(this).attr("contentEditable") == true){ $(this).attr("contentEditable","false"); } else { $(this).attr("contentEditable","true"); } }) }); </script> <p>

How to add CSS Hack specifically for IE10?

孤街醉人 提交于 2019-11-30 01:25:01
问题 I am trying to add css only for iE 10. Actually my css is working fine in chrome and firefox. But is creating some problem in IE 10. I tried this code and made ie10.css but it is not working. <script> if (/*@cc_on!@*/false) { var headHTML = document.getElementsByTagName('head')[0].innerHTML; headHTML += '<link type="text/css" rel="stylesheet" href="css/ie10.css">'; document.getElementsByTagName('head')[0].innerHTML = headHTML; } </script> It is not working. Kindly help. 回答1: You can easily

How to force IE10 to render page in IE9 document mode

老子叫甜甜 提交于 2019-11-29 23:02:06
I have two questions: How can I force IE10 to render in IE9 document mode? Currently it's rendering my page in Standard document mode. In IE10's developer toolbar, I am not able to see the option of document mode of IE10. Is it not implemented, or is my browser version is out of date? Thanks for all your help. Edit: thanks everyone for the solutions provided. Earlier I was using a meta tag <meta http-equiv="x-ua-compatible" content="IE=edge" > just to make sure that IE will render the page in highest document mode, but I was facing some issues with IE10 standard mode, so I changed the meta tag

FCKEditor doesn't work in IE10

混江龙づ霸主 提交于 2019-11-29 19:54:01
问题 FCKEditor doesn't appear in IE10. When I go to IE development tools and switch browser mode to IE9, FCKEditor works all right. But when I put meta tag for emulate IE9: <meta http-equiv="X-UA-Compatible" content="IE=9" > into header of my web-page, it doesn't help me. How to make FCKEditor work? Or are there another ways for emulating IE9 within IE10? 回答1: try this Mozilla 17 in fckeditorcode_gecko.js find this>> if (A.IsGecko){var B=s.match(/gecko\/(\d+)/)[1];A.IsGecko10=((B<20051111)||(/rv:1

Detect IE compatibility-mode with only PHP

假如想象 提交于 2019-11-29 16:55:24
Is it possible to detect that IE is in compatibility mode from the useragent with PHP ? I use IE10 and have the useragent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E) So it appears as Internet Explorer 7 then. Sure, It would be a bad idea to rely on only such a detection by PHP, but it is very useful for some ocasions (for example logging with PHP or debugging-hints,...) From this resource: http://msdn.microsoft.com/en-us/library/ie/hh869301(v=vs.85).aspx To