internet-explorer

Using tokenize within a stylesheet used in a browser

跟風遠走 提交于 2021-02-08 08:32:05
问题 I'm trying to assign a variable a certain token from a large string. I first tokenize the string, then for each token I check if it contains a certain substring. If it does, I want to assign that token to the variable. Lastly, I use that variable to set an attribute of a div. I've tried this code below, which gives me the exact output i want in oXygen XML Editor . However, when I run the XML/XSLT file in IE (11), it simply just prints out the entire original string, meaing xhtmlVar in the

How to apply class only for IE?

冷暖自知 提交于 2021-02-08 07:26:23
问题 I have this class in CSS and i need to change it when its IE. I want to remove padding-bottom . How can I do that? I don't want to add another CSS file, I want to change only one property in one class. .container-wrapp{ float: left; position: relative; width: 100%; padding-bottom:100px; height: 100%; } I tried this but without success: <!--[if IE]> <style type="text/css"> .container-wrapp{ float: left; position: relative; width: 100%; height: 100%; } </style> <![endif]--> 回答1: For IE10+ you

What is the simpliest way to install a BHO

社会主义新天地 提交于 2021-02-08 07:21:47
问题 I am not a windows programmer but it seems that I have to do an extension for Internet explorer. I made a BHO with the help of this thread : How to get started with developing Internet Explorer extensions? I did it, it "works" with VS's debug mode. Now I want a way to install it on a target machine. I know there is a lot of thread all over internet but half of it don't work for me and I can't understand the other half. Windows's system programming is not a trivia for me and I really need help

Detecting the IE “Ignore colors specified on webpages” setting state

…衆ロ難τιáo~ 提交于 2021-02-08 04:43:26
问题 There is an accessibility option ("Ignore colors specified on webpages") in IE that removes all of the CSS color/background-colors from a webpage in order to make it easier to view for some users. This can cause issues by removing helpful images that simply cannot be output in the foreground. Does anyone know if there is a way to detect the state of this setting in an end-users browser? Ultimately it could be used to display alternative styles depending on the state of this setting, so if it

Serialized SVG image with base64 embedded font, not rendering correctly in IE Edge

六眼飞鱼酱① 提交于 2021-02-08 03:43:14
问题 Edit: Issue reported to microsoft I have a inline svg element with a custom font that is embedded as a base64 string (.woff format). Using javscript, I am serializing the SVG element and using it as a source for an img element. Jsbin Link var svg = document.querySelector('svg'); var svgData = new XMLSerializer().serializeToString(svg); var img = document.createElement("img"); img.setAttribute("src", "data:image/svg+xml;base64," + btoa(svgData)); document.body.appendChild(img); svg { width:

onclick event in anchor tag not working in IE

孤街醉人 提交于 2021-02-07 13:52:58
问题 The following works fine in Firefox and Chrome, but IE 8 will not call the submit() method when the anchor link is clicked. <a href="javascript:void(0);" onclick="submit();">Sign In</a> The submit method is defined on the same page as follows: <head> <script type="text/javascript"> function submit() { // other code document.forms[0].submit(); } </script> </head> 回答1: Can you provide a bit more context? Such as where and how the submit function is defined? With just the above, it should work -

onclick event in anchor tag not working in IE

让人想犯罪 __ 提交于 2021-02-07 13:52:37
问题 The following works fine in Firefox and Chrome, but IE 8 will not call the submit() method when the anchor link is clicked. <a href="javascript:void(0);" onclick="submit();">Sign In</a> The submit method is defined on the same page as follows: <head> <script type="text/javascript"> function submit() { // other code document.forms[0].submit(); } </script> </head> 回答1: Can you provide a bit more context? Such as where and how the submit function is defined? With just the above, it should work -

Erroneous table border displays in Chrome only **Confirmed Bug**

社会主义新天地 提交于 2021-02-07 13:26:59
问题 I have an issue that seems to be isolated to Chrome...which is usually NOT the way it goes. However, I have recreated the issue as purely as possible in the following plunkr. http://plnkr.co/edit/k0viyc To illustrate the problem, here is an image that displays the border in the highlighted row in Chrome and how it isn't showing in IE. If you remove either of the following rows: <tr class="spacer"> <td colspan="14" class="noBorder noBackground"> *** By removing this row, the extended border

inline-flex input element breaks to new line in IE11

柔情痞子 提交于 2021-02-07 12:18:53
问题 I have a few html elements next to each other in a container positioned with display:inline-flex . This works well for button elements, but as soon as I try to add an input type="text" element, the textbox is placed below the buttons (only in Internet Explorer 11; not sure about IE10 or below). It works as expected (textbox in same line as buttons) in Firefox, Chrome and even Edge. How can I get IE to display this correctly? See jsFiddle for full html and css code to illustrate the problem:

inline-flex input element breaks to new line in IE11

邮差的信 提交于 2021-02-07 12:18:34
问题 I have a few html elements next to each other in a container positioned with display:inline-flex . This works well for button elements, but as soon as I try to add an input type="text" element, the textbox is placed below the buttons (only in Internet Explorer 11; not sure about IE10 or below). It works as expected (textbox in same line as buttons) in Firefox, Chrome and even Edge. How can I get IE to display this correctly? See jsFiddle for full html and css code to illustrate the problem: