internet-explorer-6

Problem displaying png on IE6

房东的猫 提交于 2019-12-11 14:21:32
问题 I'm using these codes to fix the png display problem in IE. The strange thing is that sometimes it works and sometimes it doesn't. I included these within <head> or my htmls. <!--[if lt IE 7.]> <script defer type="text/javascript" src="_scripts/pngfix.js"></script> <![endif]--> Any ideas anyone? And if there's any way to fix this problem with IE6? 回答1: Try using DD_belatedPNG instead. It uses a different technique compared to most of the other IE6 .png fixes, and has in my experience been

Reloading iframe from another iframe

点点圈 提交于 2019-12-11 12:51:49
问题 Can I reload iframe (say __tree_iframe) from another child iframe (__content_iframe)? Difficulty: IE6/7. UPDATE Obviosly I should use window.opener and find iframe using it iframes property. Apparently, IE doesn't support window.opener. Any ideas about another way? 回答1: If you have trouble accessing the iframe in the parent frame, best give it an ID. Then it should be possible to do a parent.getElementById("frameid").location.reload() if both parent, child and sibling are in the same domain.

IE6 Auto margin works? How is this possible?

こ雲淡風輕ζ 提交于 2019-12-11 12:36:27
问题 I'm just a bit CSSing, and I have this code: #page { width: 950px; margin: 0px auto; } I have a div with id="page". I opened my page in IE6, and it just worked. Since when do auto margins work in IE6? Can somebody explain me why it works? Thanks BTW my doctype is: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 回答1: IE6 does support centering via margin:auto , as long as the document is in standards mode not quirks mode

Javascript Execution Order in IE6

你。 提交于 2019-12-11 10:39:02
问题 Aren't Javascript blocks supposed to execute in the order that they are placed on the page? IE6 doesn't seem to follow that rule in some situations. My page basically looks like this: <html> <head> <title>Widget Sandbox</title> <script type="text/javascript" src="http://domain2.com/script.js"></script> </head> <body> <script type="text/javascript"> myObj.doSomething(); </script> </body> </html> This page is hosted on one domain, while the script at the top is hosted on a second domain. The

How can I deal with the following error I get when I use Dean Edwards' IE7.js with IE6?

淺唱寂寞╮ 提交于 2019-12-11 10:14:40
问题 I'm using Dean Edwards' IE7.js for IE6 <!--[if lt IE 7]> <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js" type="text/javascript"></script> <![endif]--> and getting a JavaScript error on IE 6 when it reads the line: c.runtimeStyle[h]=c.parentElement.currentStyle[h] How can I solve this? 回答1: I don't believe IE6 has a parentElement property. You might be able to get around this by including this code in the <!--[if lt ie7]> tag: Element.prototype.parentElement = Element

jquery-problem using val() in IE6

风格不统一 提交于 2019-12-11 09:29:27
问题 I'm trying to get a textarea's value to update using jquery as outlined in the below code: <button type="button" onclick="setLine();">Set</button> <button type="button" onclick="showLine();">fire!</button><p></p> <textarea id="hello"> </textarea> <script type="text/javascript"> $('#hello').val("hi there"); </script> <script type="text/javascript"> function showLine() { alert($('#hello').val()); } function setLine() { $('#hello').val('foo'); } </script> This code works fine in all major

XSLT - How to get IE consitional statements working in an XSTL

久未见 提交于 2019-12-11 07:32:23
问题 I've noticed IE conditional statements don't work in the transformed XML document. How do I get IE 6 and above to process them. Code as follows '<!--[if IE 6]><style type="text/css" media="all">@import "/css/ie6.css";</style>' Thanks. 回答1: I've noticed IE conditional statements don't work in the transformed XML document This works for me with IE8 : XML file : <?xml-stylesheet href="deleteIECond.xsl" type="text/xsl" ?> <t/> deleteIECond.xsl : <xsl:stylesheet version="1.0" xmlns:xsl="http://www

CSS cross browser issue

為{幸葍}努か 提交于 2019-12-11 07:25:30
问题 IE6,7 are givimg me grieves on browser display. I didnt have prblems with Safari nor FF. I'm not a CSS expert and in need of advice for this column alignment issues on IE. And I don't know where to begin because I've tried messing around with the css files and the css browser selector javascript and still I can't get it to work on IE. The problems I believe center around id doc, bd, yui-main, yui-b, box and box-titles. For unclear reasons, the sizes show differently in IE from other better

CSS compilers and converting IE hacks to conditional css [closed]

浪尽此生 提交于 2019-12-11 07:09:47
问题 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 4 years ago . Skip to bottom for question, but first, a little context. So I have been looking into CSS compilers (like Sass & Less) for a while, and have been really interested in them, not because they help me understand anything easier (I've been doing css for a couple of years now) but rather they cut down on cruft and

Vertical alignment problem with “overflow: hidden”, “inline-block” and “vertical-align”

旧时模样 提交于 2019-12-11 06:59:30
问题 This is a two part problem. Solving it for Firefox breaks IE6, and solving it for IE6 breaks Firefox. WebKit works fine. This demonstrates the problem in Firefox: http://jsfiddle.net/UpZca/2/ "Import Submission" link is slightly higher than "Export Submission", which is a problem. IE6 works fine at this point - the alignment is correct. I know that when using ' inline-block ', vertical alignment issues can be fixed with vertical-align:top , so I tried that first. You can see that it fixes the