internet-explorer-7

Table layout wrong in IE(7)

百般思念 提交于 2019-12-05 12:41:36
Below is the code of a simple html with a table layout. In FF it's looking as I think it should look like, in IE7 it doesn't. what am I doing wrong? And how can I fix it? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <TITLE>test</TITLE> </head> <body> <table id="MainTable" cellspacing="0" cellpadding="0" border="1"> <tbody> <tr> <td colspan="4"> <div style='width:769; height:192;'>192 </div> </td> </tr> <tr> <td colspan="2" valign="top"> <div style='width:383; height:100;'>100 </div> </td> <td rowspan="2" valign="top"> <div style='width:190; height:200;'>200 <

IE7 cause of “Text - Empty Text Node”

≡放荡痞女 提交于 2019-12-05 11:34:37
问题 I'm using the IE web developer toolbar to troubleshoot an issue. A blank white space is appearing below a list item, and I can't logically figure out why. Using the web dev toolbar, I see that in example 1 below, a "Text - Empty Text Node" is being output below "Text - Google". Ironically, in the second, with a space manually inserted after the word "Google", that text node no longer appears. It would make complete sense to me if the results were reversed. Any ideas what may cause this odd

Text input readonly attribute not recognized in IE7?

自古美人都是妖i 提交于 2019-12-05 11:20:27
I am setting readonly="readonly" (in other words, true) via javascript: document.getElementById("my_id").setAttribute("readonly", "readonly"); This is having the intended effect (making the field no longer editable, but its contents are submitted with the form) in FF, Safari and Chrome, but not for IE7. In IE7 I can still modify the contents of the text input field. I have tried setting ("readonly", "true") as well, which works in all three other browsers that I am testing, but which IE7 also ignores. Does anyone have experience with trying to do this with IE7? I do not want to use the

alternative for inline-block for ie7

那年仲夏 提交于 2019-12-05 07:57:51
for my website, im using inline-block property. it works well for mozilla and ie8 but is displayed as block elements in ie7. how can i set it right? Have a look at this: http://foohack.com/2007/11/cross-browser-support-for-inline-block-styling/ - at this point in time, IE8 was not out yet, so I believe the author is talking about IE7. 来源: https://stackoverflow.com/questions/4988727/alternative-for-inline-block-for-ie7

z-index css Pop-up box and ie7

爱⌒轻易说出口 提交于 2019-12-05 07:49:45
I have some div boxes which should show a speech box when on hover. With jQuery and CSS it’s nothing too hard. However, the popup speech appears under the neighbor div in IE7 — I can not make it to appear under it (see the shots). I tried to play with z-index at different spots with no success. FF alt text http://img134.imageshack.us/img134/5314/63386894.png IE7 alt text http://img396.imageshack.us/img396/9329/95483890.png HTML <div class="boardshot_list"> {% for ... %} <span class="img_box"> <a href="/site_media/xxx" target="_blank"> <img class="trigger" src="xxx" alt="{{ item.title }}" /> <

IE7-only stylesheet for XSL document

流过昼夜 提交于 2019-12-05 07:15:10
How do I add an IE7-and-lower-only stylesheet to an XSL page? I tried adding it into the template for header information like so: <xsl:template name="header"> <!--[if lte IE 7]> <link rel="stylesheet" type="text/css" href="/rcm/verisign/style/2012/ie7.css"/> <![endif]--> </xsl:template> And the conditional never gets executed in my document, even though I use the same snippet in HTML-only documents and it works fine. What gives? The comment will be seen by the parser as a comment in the XSL, and will be dropped from the generated HTML code. If you want to generate a comment into your HTML, you

Google Maps marker cut in half internet explorer

泄露秘密 提交于 2019-12-05 06:36:52
I'm having a weird problem with my google maps marker icons in internet explorer. All my markers are showing up cut in half doubled and shifted over 50 %. that is using the demo code from google. So it must be something weird i'm doing elsewhere with styles or jquery, but i don't know what. Has anyone had this problem before? djsm I had a similar issue. The problem being that each marker icon inherited a margin>0, I solved the issue by setting the margin to zero for all img in the map div. <style type="text/css"> #map_canvas img { margin: 0px } </style> Your problem is interesting, in that it

Can this solution be IE7 and IE6 compatible?

百般思念 提交于 2019-12-05 06:21:00
Is there any way to make this solution IE6 and IE7 compatible? http://jsfiddle.net/kirkstrobeck/sDh7s/1/ Pulled from this question I think I've found a real solution. I've made it into a new function: jQuery.style(name, value, priority); You can use it to get values with .style('name') just like .css('name') , get the CSSStyleDeclaration with .style() , and also set values - with the ability to specify the priority as 'important'. See https://developer.mozilla.org/en/DOM/CSSStyleDeclaration . Demo var div = $('someDiv'); console.log(div.style('color')); div.style('color', 'red'); console.log

Cufon text z-index (IE6 and IE7 stylish select box bug)

守給你的承諾、 提交于 2019-12-05 06:06:41
I'm replacing some text with cufon on my page and I'm using jquery stylish select box plugin ( http://www.scottdarby.com/plugins/stylish-select/0.4/ ) to style select boxes. The problem is that, in IE6 and IE7, select box goes under the cufonized text. (the select box is actually an <ul> ). Anyone had this issue before? i encountered the same problem with a drop down menu, through which the Cufon h1 stays visible in IE 6 & 7. Giving the element in which the ul is placed a z-index solves the problem! Cheers I had same problem, but becouse cufon was relative posioned. Z-index + positon relative

JSON undefined in IE7

只愿长相守 提交于 2019-12-05 05:55:56
I am using the following line of JQuery code: $.get('/ajax/buy', {'categoryname':chosenSelected}, function(data) { data = JSON.parse(data); ... However, when running it on IE7 I get this error message: JSON undefined: . How can I use the parser with compatibility to IE7 (and all major browsers)? Luca Matteis You can use parseJSON available in jQuery. You don't need to parse JSON manually. You could use the getJSON function: $.getJSON('/ajax/buy', { 'categoryname' : chosenSelected }, function(data) { // data will be already a parsed JSON object }); The parse method you are trying to call is