internet-explorer-8

transparent background issue IE8, IE7

淺唱寂寞╮ 提交于 2019-12-23 19:22:56
问题 use an icon (.png transparent background) for my menu. There isn't any problem for IE9, Chrome,Firefox,safari,opera.But if I open page with IE7 or IE8 there is a broken black border around image. CSS codes; .menu-item1{ background:url(img/spriteimage.png) no-repeat 0 0; height:20px; width:20px; opacity:0.5; } How can I fix this? 回答1: IE7 and IE8 have native PNG support for alpha-transparencies, but it falls to pieces as soon as opacity comes into the picture Try faking a background image or

respond.js polyfill not working for last media query in IE8

微笑、不失礼 提交于 2019-12-23 18:30:53
问题 I have two media queries in my css (not counting the print one) : @media screen and (min-width: 720px) {} and @media screen and (min-width: 1026px) { I am using respond.js to get them to behave under IE8. The weird thing is that it works perfectly, except for the last media query where it reverts back to the css before the media queries. I.e., it works well until the window hits that 1026px threshold in width. Anybody got an idea as to what is going on there ? Here is the link to the preview

Angular doesn't work in IE 8, can't create a custom element for my directives

隐身守侯 提交于 2019-12-23 16:11:37
问题 I built my application from scratch for the past few weeks. I did it while implementing the instructions here. I have to say that everything works great with any normal browser such as Mozilla or Chrome, and the Angular.js framework has been of much use to me. The problem is that with IE8, everything seems to be broken, and the document.createElement DOM object throws an errro when I try to create an element for my custome directive(which I'm also using an 'x-' prefix for, as required by this

JQuery - $.ajax() - Cross-origin using JSONP - Getting 'parsererror' only in IE 8 (working in IE 7)

倖福魔咒の 提交于 2019-12-23 10:22:23
问题 I've the following code to do a crossdomain request and get JSONP data (JSON wrapped with by callback method). I've verified that I'm getting the response correctly with the callback method wrapping my JSON data. It is working PERFECTLY in IE7 (the callback cb is getting called) but not in IE8. $(document).ready(function () { var abc = $.ajax({ type: "GET", url: "http://sd.domain.com/param1=a&param2=b&output=json&callback=cb", dataType: "jsonp", jsonp: false, cache: false, success: function

How to detect page zoom level in IE 8?

走远了吗. 提交于 2019-12-23 09:39:29
问题 Sadly I didn't a good enough solution on this generic question. The most upvoted & accepted answer does't seem to work for me on IE 8.0.7601.17514 (latest). Another answer came close to working - but it is always off for me by 20%, probably because I have large fonts defined in Windows. I'm imagine I can't detect this in javascript, so this is not a solid answer as well (even though it might actually work for 95% of IE users ... I might use it as a workaround). Is there a better, solid way to

problem with z-index of an empty div layer in IE8

那年仲夏 提交于 2019-12-23 09:32:33
问题 I have a problem with z-index in IE8 (other IS not tested yet): The following JS creates some html/css: document.write('<img id="' + sas_Banderole.getObjId('cb') + '" src="' + cburl + '" style="position:absolute; top:5px; cursor:pointer;" onclick="sas_Banderole.trigger();" border=0>'); document.write('<div ID="closeReminder" style="z-index:10000; background-color:transparent; text-align: right; display:none; width:30px; height:100px; right: 0px; position:absolute; top:5px; cursor:pointer;

How to avoid session sharing provided by IE8 programmatically in Java EE application?

早过忘川 提交于 2019-12-23 09:29:39
问题 Microsoft, in an effort to make Internet Explorer 8 "more stable" and “faster”, have changed the underlying architecture of the browser and introduced a function called "Loosely-Coupled IE" (LCIE) which works on session sharing across TAB and new instances. But session sharing may be fatal when some one is trying to do two different things at a time with the same application, e.g. like someone want to book one forward journey ticket and one return ticket at a time, at that time he will book 2

css child (>) selector not working in IE8?

自闭症网瘾萝莉.ら 提交于 2019-12-23 08:57:57
问题 From what I gathered and understood here and there (stop me when I'm wrong) : child selector (>) works on IE7+ as long as you trigger the standards mode with your doctype, html5's <!DOCTYPE html> is supposed to do this. Still, my css: nav > ul > li > a { padding: 0.2em 2em 0.2em 2em; background-color: #FAFAFA; } nav > ul > li > a:hover { background-color: #AFAFAF; } doesn't seem to reach my html: <!DOCTYPE html> ... <body> <header> <nav> <a class="inblock valignC logo" href="/"><img src=

HTTP Referrer and IE7 and IE8

扶醉桌前 提交于 2019-12-23 08:36:40
问题 Hi i've tried the following to find the referrer in MSIE / IE7 and IE8 but its returning blank each time; PHP: <? echo $_SERVER['HTTP_REFERER']; ?> JAVASCRIPT: document.write('Thanks for visiting from ' + document.referrer); Does any know what the issue could be I'm referering using document.location from a page on another domain and work fine with all other browsers minus MSIE. Any help would be great! 回答1: The HTTP Referer header is not required by the HTTP Protocol : It is only sent as an

HTTP Referrer and IE7 and IE8

白昼怎懂夜的黑 提交于 2019-12-23 08:35:48
问题 Hi i've tried the following to find the referrer in MSIE / IE7 and IE8 but its returning blank each time; PHP: <? echo $_SERVER['HTTP_REFERER']; ?> JAVASCRIPT: document.write('Thanks for visiting from ' + document.referrer); Does any know what the issue could be I'm referering using document.location from a page on another domain and work fine with all other browsers minus MSIE. Any help would be great! 回答1: The HTTP Referer header is not required by the HTTP Protocol : It is only sent as an