internet-explorer-8

How to make a fixed div element with css ?

僤鯓⒐⒋嵵緔 提交于 2019-12-25 04:06:40
问题 I need to create div element that would always be at the top right corner above all other elements Here is what I tried <div id="prompt" style=" height:50px; width:50px; background: #F00; position: fixed; top: 150px; margin-left: 948px; z-index: 9999">Test</div> I need it to work with IE8 , but it is not working. 回答1: You need to set left: 0; or use right without margin-left . 回答2: For positioning in the top-right corner: <div id="prompt" style="height:50px; width:50px; background: #F00;

ASP.NET Web Forms - Button not working inside <iframe> in IE9 and below

廉价感情. 提交于 2019-12-25 03:58:24
问题 I have an ASP.NET Web Forms page that has a form in it and I load it in an <iframe> as a popup. In all modern browsers it works great. In IE9 and below, however, things are weird. One file input element failed to open the file selection dialog when clicking on its browse button. After fixing this (with a JS trick), I saw another problem. Another button inside the form with this attribute for postback: onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("btnUpload", "

window.open returns null in IE8 Protected Mode

假装没事ソ 提交于 2019-12-25 03:55:14
问题 I am trying to catch the return value of window.open(), but it is returning null/undefined. This happens when IE8 Protected mode is turned ON. Is there any altenative to get the window.open() returned object without disabling the protected Mode in IE8? 回答1: You're trying to perform one of the things Protected Mode is specifically designed to stop... From Microsoft -- open method: Opening a new window from an application (other than the Internet Explorer process) may result in a null return

font face not workibg for IE8 ?? getting @font-face encountered unknown error. ?

时间秒杀一切 提交于 2019-12-25 03:04:13
问题 I am using font face to include a customised font named razing . The font is not working in IE8 but works well on IE9+ and other browsers. I checked the console in IE8 browser and i found " @font-face encountered unknown error. " I tried using svg and fixes like ?#iefix but it ain't working. Please can u provide a healthy solution to overcome this, Thanks !! <style> @font-face { font-family: Razing; src: url(Fonts/Razing/razing.eot); src: url(Fonts/Razing/razing.eot?#iefix) , url(Fonts/Razing

jquery Ui-dialog and ie8

喜夏-厌秋 提交于 2019-12-25 02:29:12
问题 i'm using a jquery dialog to open a sign in form. it works fine on ff,chrome and even Ie6,7 but it's not working on ie8. this is my function: function showSignInDialog() { var email = GetEmailFromCookie(); if (!IsNullOrUndefined(email)) { $("input[name$='LoginEmail']").val(email); $("#chkRememberMe").attr("checked", "checked"); } if (!$('#signInForm').dialog('isOpen')) { $('#signInForm').dialog({ bgiframe: true, modal: true, resizable: false, width: 330, title: 'EZtrader Login', buttons: {

How do I hide my custom css overflow in IE8?

那年仲夏 提交于 2019-12-25 02:18:53
问题 I have made a script that uses pure css to toggle image, image caption and text. When I run this in IE8 I can all of the elements at once. The scripting for this is quite extensive so out of convenience I have made this JSFiddle. I need to hide the cascade-overlay-content and have tried to use overflow:hidden; and adding it changed nothing as I am still able to see all elements after adding it everywhere. 回答1: Try to add { position: relative; } to the parent element. Sometimes it helps in old

jQuery IE Cleartype glitch on fadeout!

和自甴很熟 提交于 2019-12-25 02:03:42
问题 Please do not point me to more articles about this issue I think I've read them all... I have a div that has some text in it and I just wanted to fade it out in jQuery: $(document).ready(function(){ $('#dHeaderMessage').fadeOut(12000, function() { }); }); This fades out correctly but the text inside of this div looks awful when the page first loads up (IE8). So I googled it and it mentioned its some ClearType font issue with IE. The workaround was to remove a "filter" in javascript like so:

Image Rotation in IE8

前提是你 提交于 2019-12-25 01:56:02
问题 I am having problem while rotating the image in IE 8 , it works perfect in other browsers(Chrome,Mozilla,Firefox). Is there any other way for this except filter progid:DXImageTransform.Microsoft.Basic Image(rotation) as I am having some problem while using this filter in zooming the image in IE 8. After a perticular level of zoom ,image resets to its normal rotation(Angle 0) before that zoom level everything goes perfect but once this scenario occurs image resets on every zoom level on

Create object WMPlayer.OCX issue

南笙酒味 提交于 2019-12-25 01:14:05
问题 I am using following code in my HTML page but it is returning NULL. (IE8 , MS WIndows 7 Pro) Set Sound = CreateObject("WMPlayer.OCX") I am sure Windows Media Player is installed and working fine. How to fix it? 回答1: It seems like is impossible to use Visual Basic code like I use in HTML. Instead of it we have to use Windows Media Player in DOM like this <body onload='' scroll="no"> <object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="WindowsMediaPlayer" width="0" height="0"> <

Why do i get an exception when I use JQuery's form.Submit() in IE8?

孤人 提交于 2019-12-24 23:26:09
问题 The following works perfectly fine on FF and Chrome. What is IE8 complaining about? <!DOCTYPE html> <html> <head> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.min.js" type="text/javascript"></script> <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.js" type="text/javascript"></script> </head> <body> <form action="http://www.thisurlisfake.com" id="myForm" method="post"> <input type="text" id="myText" class="required" /> <input type="submit" id=