internet-explorer-7

IE7 CSS padding issue - cannot figure out

丶灬走出姿态 提交于 2019-12-23 09:48:41
问题 Trying to figure out a rather annoying IE7 CSS issue. For some strange reason on the page below, its padding is appearing to be much larger than normal. No properties I apply seem to fix the issue and I cannot figure out why it is happening. You can see the issue here on the buttons (the main culprit): Example: http://www.matthewruddy.com/demo/?page_id=1088 Here is the CSS being applied: .button { -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius:

Flash of unstyled content in IE with @font-face

独自空忆成欢 提交于 2019-12-23 08:49:18
问题 I'm working on a site which uses the Open Sans typeface for the body text, with EOT, SVG, WOFF and TTF font files and stylesheet generated by Font Squirrel. I've included my fonts CSS first in my page header. But when I view the site in IE7, IE8 and even IE9 I get a flash of everything in Times Roman before the Open Sans kicks in. This isn't happening in the other browsers. Can anyone suggest a way I could stop this happening? Here's the Font Squirrel CSS I'm using for that font: @font-face {

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

Why is ie7 always in Quirks mode?

怎甘沉沦 提交于 2019-12-23 07:48:36
问题 Here is the DOCTYPE and XML declaration that I am using: <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> But still IE7 is always going to quirks mode... Does anyone have any idea as to why? Thanks in advance! 回答1: If you have anything before the DOCTYPE apart from the XML prolog , then you will trigger quirks mode in IE7. This includes white space and comments. The XML prolog will only trigger quirks mode

Why is ie7 always in Quirks mode?

冷暖自知 提交于 2019-12-23 07:48:22
问题 Here is the DOCTYPE and XML declaration that I am using: <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> But still IE7 is always going to quirks mode... Does anyone have any idea as to why? Thanks in advance! 回答1: If you have anything before the DOCTYPE apart from the XML prolog , then you will trigger quirks mode in IE7. This includes white space and comments. The XML prolog will only trigger quirks mode

CSS display: inline-block doesn't work in IE7

天大地大妈咪最大 提交于 2019-12-23 07:29:23
问题 I created this to simply explain my problem. It is of some list items being displayed as inline blocks. I had an original method that didn't work either, so I used this CSS. http://jsbin.com/upexu/edit This works great in FF and IE7, as a standalone. Unfortunately, in my implementation on my site, it doesn't display correctly in IE7 (they appear stacked one above the other). Firefox IE7 Now can anyone tell me why they don't work in my example (see images above and look at site, it is in the

live event not works in ie7?

落爺英雄遲暮 提交于 2019-12-23 05:26:07
问题 I am displaying checkbox via ajax and i had triggered event when clicking that check box. It wrks in all browser but in ie7 it not works. i clicked on check box nothing happened. my sample code. $("#checkbox_id").live('change',function(){ alert('check'); }); 回答1: IE7 Wont supports change event in live (i.e $(#checkbox_id).live('change', function(){}) ) Remember once html code displayed in ajax particularly for checkbox live change event wont works in ie7. Use $('#checkbox_id').live('click'

Internet Explorer showing e.which as undefined

戏子无情 提交于 2019-12-23 03:12:58
问题 In Internet Explorer 8 , event.which is showing undefined and working fine in FireFox and IE 9 . I am using the Textbox 'onkeypress' Event MarkUp <asp:TextBox runat="server" ID="tb1" MaxLength="3" onkeypress="return MainCheckStrings(event);" /> It is working fine in FF, Chrome, Safari and Internet Explorer - 9 Any Idea? 回答1: var charCode = evt.which || evt.keyCode; 回答2: The documentation clearly shows that this property is available only from IE 9 onwards. 回答3: In IE prior 9 the even object

examples of ie obj.attachEvent()

南笙酒味 提交于 2019-12-23 03:10:29
问题 does anyone know how works the obj.attachEvent on ie? I tried a few examples but they don't work. Also is this compatible with ie7? What i tried is this : var onload = function( ) { console.log("intercepting: " + this.status + " " + this.responseText); }; if($.browser.msie){ console.log("it's IE..."); this.attachEvent("load", onload); } All above inside an XMLHtppRequest. 回答1: You probably want to assign that function to xhrObject.onreadystatechange . 回答2: For attachEvent , you need to prefix