internet-explorer-6

combining IE6 and IE7 css hacks in same stylesheet

夙愿已清 提交于 2019-12-03 08:52:15
I usually use IE conditionals and have a stylesheet for each. This for me is a much neater way to do this. However due to a certain constraints, I have to hack ie6 and 7 in the same stylesheet. I know it won't validate, but how do you isolate ie6 and ie7 with hacks in the same stylesheet? Comprehensive List of Browser-Specific CSS Hacks Source: http://paulirish.com/2009/browser-specific-css-hacks/ /***** Selector Hacks ******/ /* IE6 and below */ * html #uno { color: red } /* IE7 */ *:first-child+html #dos { color: red } /* IE7, FF, Saf, Opera */ html>body #tres { color: red } /* IE8, FF, Saf,

CSS sprites and IE6

只愿长相守 提交于 2019-12-03 08:20:45
Does IE6 support css-sprites? Yes IE 6 supports sprites but doesn't support 24 bit PNG transparency. I use this css hack for giving IE < 7 a gif file and everything else a 24 bit png with transparency. background-image:url(/images/sprites/icons-sprite.png); _background-image:url(/images/sprites/icons-sprite.gif); /* IE<7 gets the crappy icons */ You can also use Glue http://gluecss.com/ It's an open-source command line tool to generate sprites. CSS sprites is a general solution using backround-position, which is avaible even in IE5. A good tutorial about them is located here: http://www

How are programmers tackling ie6 bugs these days?

狂风中的少年 提交于 2019-12-03 08:19:44
问题 I have been using dean edwards ie7/8 script. Not sure if it's my implementation or not but sometimes I would experience ie6 issues that weren't quite fixed or required special handling which meant I would be back where I started, caring about ie6. So, I was wondering if ie7/8 is still the go or if some other practice/solution was better. 回答1: Update : I expanded my answer here with a tutorial on my site, which will probably be more helpful than my answer here. Ultimate IE6 Cheatsheet: How To

How to inform users that webapplication does not support IE6

风格不统一 提交于 2019-12-03 07:46:08
I have web application and I do not really care about IE6 users. However I would like to have some kind of feature that would inform users that they are using IE6 and that their browser is not supported. I was thinking about two possible solutions: pop-out window (probably Javascript) with text informing the user on every page he visits some special page with information, that user would be redirected to whenever he tries to access my application Both solutions will be sufficient, however I would prefer the second one. Probably some magic javascript needs to be involved, can anyone could

jQuery UI datepicker performance

我们两清 提交于 2019-12-03 07:11:33
I have a textbox on my web page that is used to specify a date, so I'd like to use the jQuery DatePicker . However, most of my users are locked into using IE6 and the performance of the jQuery DatePicker is a little sluggish in this browser. Can anyone recommend an alternate JavaScript date picker, or any means of improving the display performance of the jQuery DatePicker? I also ran into this problem. Here are a couple of things that can help performance in IE6: Turn on background image caching. This will load images before the datepicker is shown: try { document.execCommand(

Which mode is IE6 if doctype is html as HTML5?

半城伤御伤魂 提交于 2019-12-03 04:23:03
问题 If web page has doctype as HTML5. <!doctype html> Which render mode is it for IE6? The document.compatMode tells CSS1Compat . It looks Standard mode, not quirks mode. But, is it true? IE6 is released before HTML5 term is coined. How can IE6 recognize HTML5 doctype? 回答1: The HTML5 doctype was specifically chosen because it was the shortest doctype string possible that triggered standards mode in all browsers (starting with IE6). This was a deliberate decision based on what what would work in

What do you wish you knew before you spent hours trying to fix a bug in IE6 [closed]

ぐ巨炮叔叔 提交于 2019-12-03 04:22:41
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . Mine would have to be the float and margin bugs... If you float an element, and then specify a margin for it, it will double the margin. The solution to this is to add display: inline to the element. This will stop the double margin, and all other browsers will ignore it

iframe based IE6 javascript memory leak?

时间秒杀一切 提交于 2019-12-03 03:59:42
I'm loading in content using an iframe via a menu with jquery which is updating the 'src' attribute of the iframe to then load in the desired page. Each of the pages have their own javascript includes and heavy content. The code is as follows:- $(document).ready(function() { loadPage('main.php'); }); function loadPage(url) { $('#applicationFrame').attr('src', url); } And the iframe on the index page looks as follows:- <iframe id="applicationFrame" application="yes" trusted="yes" frameborder="0" /> (Side note: I realise that the iframe here is taking nonstandard attributes, but this is an

How to completely disable all Internet Explorer Script Error dialogs

佐手、 提交于 2019-12-03 03:59:16
Can someone please tell me how to disable Internet Explorer Script Error - says: An Error has occurred in the script on this page ... Error: Unspecified error ... Please don't Say to Go to Tools -> I.Options -> Advanced ...turning off debugging etc etc.. I have tried all that and this popup dialog still comes up. Some forums suggested turning off a service called: Machine Debug Manager (MDM), the problem is that I can't find this service running on my windows version. Why? System Windows XP Professional Version 2002 Service Pack 3 There's gotta be some way to completely turn off this dialog so

Is there a JavaScript PNG fix for IE6 that allows CSS background positioning?

冷暖自知 提交于 2019-12-03 02:57:12
I've seen a few fixes for allowing PNG images to have transparency in Internet Explorer 6, but I've yet to find one that also allows you to set the background position in CSS. If you use sprites, it's a deal-breaker. I've resorted to using GIF's (which are not as high quality), not using transparent images at all, or serving a completely different stylesheet to IE6. Is there a fix for IE6 that allows for PNG transparencies AND background positioning? Yes. Convert your images to use indexed pallets (png256). You can support transparency (just like gif), but not an alpha channel. You can do this