internet-explorer-7

JSON on IE6 (IE7)

我的未来我决定 提交于 2019-12-17 05:41:05
问题 Sorry for my inpatience but after weeks staying up late and just having put my web online, I just don't have any left energy to debug... I just can't Google how to implement JSON on IE6 & IE7... I'm using JSON.stringify(...) From what I understand JSON is not built in on IE6-7 and has to be dynamically added in in-line code... how do you do that? I already have jQuery - is it my correct understanding that their JSON engine relies on the browser native one? Then some comment on invalid JSON

What bug does zoom:1; fix in CSS?

冷暖自知 提交于 2019-12-17 04:59:55
问题 I have seen people apply the CSS property zoom: 1; on HTML elements. Why do they do this, and what bug does it fix? 回答1: This provides an internal property known as hasLayout in Internet Explorer versions 7 and lower. The definitive article on the subject is here: http://www.satzansatz.de/cssd/onhavinglayout.html A lot of Internet Explorer's rendering inconsistencies can be fixed by giving an element “layout.” In this article, the authors focus on some aspects of this complicated matter.

Force IE8 Into IE7 Compatiblity Mode

你离开我真会死。 提交于 2019-12-17 04:23:07
问题 Is there a way to force IE8 into IE7 compatibility mode using .NET or Javascript? 回答1: If you add this to your meta tags: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> IE8 will render the page like IE7. 回答2: You can do it in the web.config <httpProtocol> <customHeaders> <add name="X-UA-Compatible" value="IE=7"/> </customHeaders> </httpProtocol> I have better results with this over the above solutions. Not sure why this wasn't given as a solution. :) 回答3: I might have found it

Force IE8 Into IE7 Compatiblity Mode

旧巷老猫 提交于 2019-12-17 04:22:12
问题 Is there a way to force IE8 into IE7 compatibility mode using .NET or Javascript? 回答1: If you add this to your meta tags: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> IE8 will render the page like IE7. 回答2: You can do it in the web.config <httpProtocol> <customHeaders> <add name="X-UA-Compatible" value="IE=7"/> </customHeaders> </httpProtocol> I have better results with this over the above solutions. Not sure why this wasn't given as a solution. :) 回答3: I might have found it

Should I use single or double colon notation for pseudo-elements?

风格不统一 提交于 2019-12-17 03:32:07
问题 Since IE7 and IE8 don't support the double-colon notation for pseudo-elements (e.g. ::after or ::first-letter ), and since modern browsers support the single-colon notation (e.g. :after ) for backwards compatibility, should I use solely the single-colon notation and when IE8's market share drops to a negligible level go back and find/replace in my code base? Or should I include both: .foo:after, .foo::after { /*styles*/ } Using double alone seems silly if I care about IE8 users (the poor

IE7 Z-Index issue - Context Menu

折月煮酒 提交于 2019-12-17 03:19:38
问题 I have the following button with associated context menu <div class="control-action"> <button>Action</button> <ul style="display:none"> <li class="action-remove">Remove</li> <li class="action-detail">Detail</li> <li class="action-assigned">Assign</li> </ul> </div> When the button is clicked the associated ul shows beneath it as a context menu. This is working great on all browsers except IE 7. In IE7 the context menu (ul) shows beneath the button below it. I imagine this is likely due to how

How to launch an EXE from Web page (asp.net)

我的未来我决定 提交于 2019-12-17 02:27:17
问题 This is an internal web application where we would like the Web pages to contain links to several utilities that are Win32 EXE. The EXEs are trusted and produced by us. (don't care if it asks if its ok to Run or Save). I tried direct link (e.g. C:\notepad.exe) which works locally only. (This will be a share on the network). Tried File:/// and did not work. IE7 is the browser needed. 回答1: How about something like: <a href="\\DangerServer\Downloads\MyVirusArchive.exe" type="application/octet

IE7 Z-Index Layering Issues

狂风中的少年 提交于 2019-12-16 19:55:00
问题 I've isolated a little test case of IE7's z-index bug, but don't know how to fix it. I have been playing with z-index all day long. What is wrong with z-index in IE7? Test CSS: input { border: 1px solid #000; } div { border: 1px solid #00f; } ul { border: 1px solid #f00; background-color: #f00; list-style-type: none; margin: 0; padding-left: 0; z-index: 1000; } li { color: #fff; list-style-type: none; padding-left: 0; margin-left: 0; } span.envelope { position: relative; } span.envelope ul {

Jquery fails to hide div in IE10 running in IE7 document and browser mode

纵饮孤独 提交于 2019-12-14 04:09:36
问题 I have written a small jQuery script that queries the url to see if it contains certain text (in this case a PL/SQL generated parameter and value). If so, the script hides a div in the page content and adjusts the adjacent divs to fill the space left by the now absent div. My current issue is that for some reason the script isn't working in IE7 despite working in all other browsers. <script type="text/javascript"> $(document).ready(function () { if(window.location.href.indexOf("p_ccp_path

Rounded corners in MS IE 7 - on Intranet with no access to the outside world - and no JS/HTC

只谈情不闲聊 提交于 2019-12-14 03:58:28
问题 I got a good answer to my previous question Rounded corners in MS IE 7 ... it was my own stupid fault for forgetting to mention that it is for an intranet which can't access the outside world, and that JS is forbidden, so I can't use HTC. So, here's the question again.. Can I (and, if so, what's the simplest way to) get (scalable) rounded corners in MS IE 7+ using only CSS/HTML ... images are ok, but I worry about the user resizing the browser. A bonus if it's cross-browser, but IE7+ with no