internet-explorer-6

How to make css max width in IE6 and 7?

时光毁灭记忆、已成空白 提交于 2019-12-01 05:02:59
问题 I use this css code in my website: img { max-height: 800px; max-width: 600px; } Unfortunately, it doesn't work with IE 6 and 7. How can I solve it? Thanks in advance. 回答1: The max-height property is supported in IE7: http://www.w3schools.com/cssref/pr_dim_max-height.asp , and you can use IE7 test it by this link. IE6 and earlier versions do not support the max-height property. But you can use CSS to hack it: img { max-height: 800px; _height:expression(this.scrollHeight > 800 ? "800px" : "auto

IE6 and IE7 Standalone: What do they render differently? [closed]

爷,独闯天下 提交于 2019-12-01 03:38:30
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . It's common knowledge on SO (see this question) that to run IE6 and IE7 you need a Windows box (or virtual box) with only those apps

If I serve /favicon.ico as image/vnd.microsoft.icon, instead of image/x-icon, will it break on any browsers?

时光总嘲笑我的痴心妄想 提交于 2019-12-01 03:23:31
If I configure Apache to serve /favicon.ico as MIME type image/vnd.microsoft.icon, instead of image/x-icon, will it break on any browsers? Wikipedia's favicon article indicates that image/vnd.microsoft.icon is the "correct" mime type, but that doesn't help if it means some users won't see it. I need to support IE6+, as well as modern browsers (FF/Chrome/Opera/Safari). Google serve /favicon.ico as image/x-icon, and I'd guess they know what they're talking about (or at least, what's compatible). Off the top of my head, image/vnd.microsoft.icon will work only if the image actually is a real ICO

Blur a select after change in Internet Explorer 6

天大地大妈咪最大 提交于 2019-12-01 02:23:54
Simple question really. This works in all but IE6: <html> <body> </body> <select id="test" onchange="blur()"> <option name="one">One</option> <option name="two">Two</option> <option name="three">Three</option> </select> </html> Is there anyway to get this working in IE6? JavaScript and JQuery hacks allowed. Any ideas, remarks or tips? Thanks in advance Under jQuery: <script type="text/javascript"> $(function() { $('#test').change(function() { $(this).blur(); }); }); </script> Or you may try replacing: With: <select id="test" onchange="javascript:blur(this);"> UPDATE : Actually it seems that

If I serve /favicon.ico as image/vnd.microsoft.icon, instead of image/x-icon, will it break on any browsers?

可紊 提交于 2019-11-30 23:41:44
问题 If I configure Apache to serve /favicon.ico as MIME type image/vnd.microsoft.icon, instead of image/x-icon, will it break on any browsers? Wikipedia's favicon article indicates that image/vnd.microsoft.icon is the "correct" mime type, but that doesn't help if it means some users won't see it. I need to support IE6+, as well as modern browsers (FF/Chrome/Opera/Safari). 回答1: Google serve /favicon.ico as image/x-icon, and I'd guess they know what they're talking about (or at least, what's

Strategy for Fixing Layout Bugs in IE6?

假如想象 提交于 2019-11-30 20:22:11
Generally, what's the best way to tackle a layout bug in IE6? What are the most common bugs or problems that one should look for when trying to figure out why your page suddenly looks like a monkey coded it? First Things First Get yourself the Internet Explorer Developer Toolbar . It's a life saver and works great with IE6 and/or IE7. It's no replacement for Web Developer Toolbar or Firebug for Firefox, but it's better than nothing. Know Thy Enemy Read up on the quirks of IE — particularly hasLayout and overflow and the like. There are also many CSS niceties that you'll have to either do

Debug JavaScript within IE6 [closed]

冷暖自知 提交于 2019-11-30 19:22:14
I'm looking for a tool that will enable me to debug JavaScript within IE6. What I mean is that I would like the debugger to run within the browser, a là Firebug. So far I've tried: DebugBar ; Companion JS ; Firebug Lite. However, I can't figure out how to set breakpoints, step through the code, add watches, etc. using any of them. I've also tried using the MS Visual Web Debugger 2008 Express Edition, but it doesn't run within the browser and lacks features. If any of the tools above do provide the JS debugging features I'm seeking, any tips on how to use them effectively would be welcome.

Div at bottom of window and adaptable height div

流过昼夜 提交于 2019-11-30 15:39:48
Is there a way to get a div to always be at the bottom of the window, and another div to change its height to fill any space that it leaves, and that div will scroll if its content is too long. (I never want the window to scroll). This is best illustrated by a picture: div layout http://img401.imageshack.us/img401/3209/divs.png The green div will always put itself at the bottom of the window, and the orange div will fill the gap. When the window is smaller, like in the right hand image, the orange div will be smaller and will scroll. The green div can be toggled. Sometimes the green div will

Bootstrap versions and browser compatibility

廉价感情. 提交于 2019-11-30 14:32:38
问题 We are currently developing an application that will have to run on older corporate PCs that still have IE6 installed. I have been looking around a bit, but I cannot find a clear answer for the following: is there a link where different bootstrap versions are paired to the corresponding supported browser versions? For example: Bootstrap 1.1 supports IE 6 and up, Chrome, FF, ... Bootstrap 2.1 supports IE 7 and up, Chrome, FF, ... 回答1: Here is the link to the official docs for Bootstrap

How To Distract Clients From Using IE6

浪尽此生 提交于 2019-11-30 12:06:31
How can we distract our clients from using IE6. We know IE6 is not a good standard-compliant browsers; has many issues. How to satisfy clients so that they do not use IE6? Thanks... I'm currently in the process of building a new site for my company and I've been looking at http://code.google.com/p/ie6-upgrade-warning/ . Essentially it's a little javascript lib that checks to see if the user is running IE6 and if so it displays a nice little overlay on top of your site. The only problem I've got with it is that it completely blocks the user from using your site. I'd like to allow for them to