internet-explorer-7

Border: none works in IE8 but not IE7?

对着背影说爱祢 提交于 2019-12-10 11:48:19
问题 I have text inputs with 1px padding that I sometimes put 1 px borders on. I want all text inputs to fill the same vertical space, borders or not. To achieve that, I created a "don't have borders, but fill space like you do" class with border: none and 2px of padding: .BorderInputNone { border: none; padding: 2px; } This worked in IE8, but in IE7, there were visible borders around the input. EDIT: I fixed it by using border: transparent. .BorderInputNone { border: 1px solid transparent;

File download dialog IE7 disappears

陌路散爱 提交于 2019-12-10 11:17:55
问题 The following code will not run correctly in IE7 with the latest service packs installed. System.Web.HttpResponse response = System.Web.HttpContext.Current.Response; response.Clear(); response.AddHeader("Content-Disposition", "attachment;filename=Contacts.xls"); response.ContentType = "application/octet-stream"; System.Text.UnicodeEncoding Encoding = new System.Text.UnicodeEncoding(); byte[] unicodeBytes = {255,254}; int length = 2 + Encoding.GetByteCount(_exportContent); // _exportContent is

IE7 loading cursor flickers and makes page slow to respond

百般思念 提交于 2019-12-10 11:07:46
问题 I have a problem where moving the cursor and clicking in text fields causes the page to show a wait cursor and also makes the page very unresponsive. See this video for an example of it happening. It only happens in IE7 . I've tried checking where I think it might be sending off ajax requests (thought this could be changing the cursor). I've checked where I think multiple events may be firing simultaneously and tried commenting it out. Has anyone seen anything similar happen and can point me

Align divs horizontally, no vertical stacking, in IE7

巧了我就是萌 提交于 2019-12-10 10:49:51
问题 I have a fixed container and inside of that is an additional container which houses a number of DIVs based on user choices. I need these additional DIVs to line up horizontally and provide horizontal scrolling (but not vertical scrolling). Such as this: [x] [x] [x] Essentially, my setup looks like this: <div id="container"> <div id="second"> <div class="final"><img src="..." /></div> //Repeat as needed from user </div> </div> The CSS breaks down as such: #container { position: fixed; top:

pieCSS3: Not rounding in local

心已入冬 提交于 2019-12-10 10:10:00
问题 i'm trying to get rounded corners using pie: ul li{ -webkit-border-radius: 8px 8px 0 0; -moz-border-radius: 8px 8px 0 0; border-radius: 8px 8px 0 0; color: #FFFFFF !important; float: left; font-size: 16px; font-weight: bold; height: 24px; margin-top: 14px; padding: 15px 15px 5px; text-align: center; text-decoration: none; background: url("../nImg/comunHomeSprite.png") no-repeat scroll -5px -4172px transparent; behavior: url(../nJs/pie/PIE.htc); } CSS file is in: /nCss/mycss.css Html file is

jQuery bug? .appendTo() not working in IE7

梦想的初衷 提交于 2019-12-10 04:24:46
问题 I am trying to create an option transfer plugin for jQuery. I have the basic functionality working in opera, firefox, chrome & safari but IE7 is failing to co-operate. The transfer functions in IE7 appear to operate very sporadically and incomprehensibly. I have created an example page to illustrate my problem. Can anyone see where I am going wrong? Thanks, 回答1: This doesn't look like an .appendTo()-error-in-jQuery as much as an IE7-has-superfunky-select-box-behavior problem. This workaround

Weird issue in IE7 Only not in any other browser

烈酒焚心 提交于 2019-12-10 04:19:36
问题 It is a simple HTML , i have jquery-ui(1.10) and jquery (1.9.1) . it works fine in IE8,9 ,firefox and in chrome only in IE 7 HTML has something like below. I have no idea what that is and where that is from this piece of code is not there when i see this HTML in IE8,9 , Firefox and chrome sizzle-1367496452938="[object Object] and all the div tags injected with this jQuery191030626454110549073="6" Here is some part of the html look like this.Anyone knows what is this issue is? <html sizzle

IE7 contentEditable word wrapping

狂风中的少年 提交于 2019-12-10 01:48:22
问题 I have the following code: <html> <style type="text/css"> DIV { display:inline; border: solid red 1px; } .editable { background:yellow; } </style> <div class="editable" contentEditable="true"> This is test text. This is test text.This is test text.This is test text.This is test text.Thihis is test text.This is test text.</div> <div class="editable" contentEditable="true"> short </div> <div class="editable" contentEditable="true"> This is test text.This is test text.This is test text.his is

PHP get_browser: how to identify ie7 versus ie6?

好久不见. 提交于 2019-12-09 23:03:08
问题 Is there any way to differentiate IE7 versus IE6 using PHP's get_browser() function? 回答1: You can do so as such: $browser = get_browser(); if($browser->browser == 'IE' && $browser->majorver == 6) { echo "IE6"; } elseif($browser->browser == 'IE' && $browser->majorver == 7) { echo "IE7"; } A quick look to the official get_browser() documentation would of answered your question. Always read the documentation before. 回答2: I read that get_browser() is a relatively slow function, so I was looking

IE6&7 causes of “This page contains both secure and nonsecure items”

我是研究僧i 提交于 2019-12-09 16:08:33
问题 I have an HTTPS site that in IE6 & 7 displays (in error) a dialog that reads: This page contains both secure and nonsecure items Do you want to display the nonsecure items? This doesn't happen in any proper browsers, but the site is corporate and lots of customers are still on Windows 2000 and IE6. I am familiar with (and have eliminated) the following possible causes of this message: One or more of the resources loaded with the page have http:// instead of https:// - this is the only