internet-explorer-7

<div> overflow:auto does not show scrollbar until resize

故事扮演 提交于 2019-12-08 16:14:54
问题 I have a element on my form that looks like this: <div style="overflow-y:auto;overflow-x:hidden;height:100%;width:100%"> In IE7 when the page first renders, there are no scrollbars. However, if I resize the page (even just 1 pixel) the scroll bars appear properly. Is there something I can do so that the scrollbars show properly when the page first displays? 回答1: Set overflow-y to "scroll" if you always want a scrollbar. 回答2: That's the kind of problem which comes from the hasLayout bug in IE6

How to make css transform-origin property work in IE7 and IE8?

偶尔善良 提交于 2019-12-08 12:18:24
问题 I have the following css rule: transform-origin: 100% 50%; How to make it work in IE7 and IE8? I was google'ing for 4 hours with no luck. Any help appreciated! 回答1: I have solved this by making image double width as it was before and added left: -300px (half width of image). I know this is not the best way to do it, but anyway it works like it should do. Hope someone will find this answer helpful :) 来源: https://stackoverflow.com/questions/13931835/how-to-make-css-transform-origin-property

Jan 2009 Microsoft update breaks mp3 sound objects in IE7

南笙酒味 提交于 2019-12-08 12:18:00
问题 There are a couple of web sites I maintain that use HTML audio/mp3 objects within a page. They use to work but then something broke. The pages rely on Windows Media Player if the client browser is IE. A month or so ago, the object would appear as a WMP control. It should look like this (source: calgarydj.ca) But now what appears resembles a mail slot a tiny scrollbar attached. Click on this link to view. (source: calgarydj.ca) I think this change may have occurred with the Jan 2009 Microsoft

Floating table cells in IE7

僤鯓⒐⒋嵵緔 提交于 2019-12-08 12:15:57
问题 I am currently re-styling a site but unforunately I am unable to edit any of the markup, which leads me to the following problem... I have a table, similar to this: <table> <tr> <td>Some content</td> <td>Some content</td> </tr> <tr> <td>Some content</td> <td>Some content</td> </tr> <tr> <td>Some content</td> <td>Some content</td> </tr> </table> and I want to display all the table cells on one line. In good browsers, I'm using: table tr { display: inline; float: left; } to achieve this.

fadeOut not working in IE7/IE8

≯℡__Kan透↙ 提交于 2019-12-08 12:15:22
问题 I'm not quite sure why this bit of jQuery isn't working in IE7 & IE8. Does anyone have any ideas what could be causing this? 回答1: Well for one thing since you are using jQuery do this without the inline js: $('input[type=checkbox]').click(function(){ var checkbox = this; if (checkbox.checked) { $("#message1").stop(true, true).show().fadeOut(10000); $("#message2").hide(); } else { $("#message1").stop(true, true).hide(); $("#message2").stop(true, true).show().fadeOut(10000); } }); Just doing

Where does IE store the ASP.NET_SessionId cookie?

我的梦境 提交于 2019-12-08 07:02:54
问题 I am a bit baffled here; using IE7, ASP.NET 2.0 and Cassini (the VS built-in web server; although the same thing seems to be true for "real" applications deployed in IIS) I am looking for the session-id-cookie. My test page shows a session id (by printing out Session.SessionId ) and Response.Cookies.Keys contains ASP.NET_SessionId . So far so good. But I cannot find the cookie in IEs cookie-store! Nor does "remove all cookies" reset the session (as it does in FF)... So where - I am tempted to

jQuery: live change event on IE7

别说谁变了你拦得住时间么 提交于 2019-12-08 06:14:50
问题 I have capture change event on drop down select. This drop down field is created using AJAX so event capture need to be done with live or bind. Here I add the code which I'm using currently. This is working on fire fox. On IE7 its not working. Can anyone tell me a way to capture live event of drop down select on IE7 <select id="lob_drop" name="opt" class="select"> <option value="1">option 1</option> <option value="2">option 2</option> <option value="3">option 3</option> </select> jQuery('#lob

IE6 and IE7 Z-INDEX bug

◇◆丶佛笑我妖孽 提交于 2019-12-08 06:11:38
问题 After a few lost days, I have given up trying to solve this. So, here is the situation and I'll be really thankful if someone could tell me what I should do: I have a vertical menu, and the second level of the menu is absolute positioned. The inner <ul> is styled position: absolute; and has a set z-index . The problem is ie6 and ie7-specific, which does not recognize the z-index in an absolute positioned block. If the element was a relatively positioned, there are no problems but I need the

Why is IE7 rejecting session cookies from a page in a frame?

点点圈 提交于 2019-12-08 05:25:15
问题 I am building a website that is loaded into a frameset by other sites (where the domain names are different for the parent site). This works fine in all browsers (including IE6), except for IE7. It is not registering the session at all and simply does not work. Site is implemented using LAMP, MySQL 5, and PHP 5 - yeah, probably not relevant to the actual problem but still worth mentioning. Any suggestions? 回答1: You might want to try adding a P3P header to your site as follows: header('P3P: CP

Why doesn't content wrap around floated image in IE7?

懵懂的女人 提交于 2019-12-08 04:32:09
问题 See: http://hostingcouponsclub.com/codero-coupons. When I click the more<< (above the red poll part) why under IE7 the content doesn't wrap around the image? Under Firefox and Chrome, it's ok. How do I make the content wrap around the image when click the red more<< text in IE7? 回答1: It's because when jQuery animates (your show/hide function uses "slow") it causes the animated elements to "gain layout" this is turn causes the text not to wrap : Reference e.g. your pr_content div lands up