internet-explorer-8

IE8 and IE9 :before and :after elements position absolute are hidden

泄露秘密 提交于 2019-12-18 04:45:08
问题 I am trying to create a button with "caps" on either end, and a repeating background, in order to keep the button a flexible size. In order to do this, I have used the :before and :after pseudo-elements in CSS, along with position:absolute to get it outside of the main button's background-covered space (using negative values). It works in FF and Chrome, but it looks like in IE8 and 9, the images are there, but are "outside" the button, and therefore are hidden. Does anyone know how to pop

Using multiple-class selectors in IE7 and IE8

て烟熏妆下的殇ゞ 提交于 2019-12-18 04:34:15
问题 I know IE7 & IE8 supposedly have support for using multiple CSS class selectors, but I can't seem to get it to work. CSS: .column { float: left; display: block; margin-right: 20px; width: 60px; } .two.column { width: 140px; } .three.column { width: 220px; } .four.column { width: 300px; } HTML: <div class='two column'>Two Columns</div> <div class='three column'>Three Columns</div> <div class='four column'>Four Columns</div> It always end up using the .four.column rule. Any ideas on what I'm

IE8 and jQuery selectors

两盒软妹~` 提交于 2019-12-18 03:33:49
问题 Today it came to my attention that a combination of jQuery selectors and the addClass() function does not work properly on IE8. For example, when I want to ensure that even-numbered rows are selected in a table, I wrote: jQuery(document).ready(function($){ $("#table1 tr:nth-child(even)").addClass("even"); } And for the CSS, I wrote: #table1 tr:nth-child(even), #table1 tr.even { background-color: #ff0; } In Firefox, Chrome, Safari and Opera, even without the pseudo-class selector in the CSS

IE7 does not respect z-index

只谈情不闲聊 提交于 2019-12-18 03:31:35
问题 Running in compatibility mode the calendar below renders behind the textboxes below. IE8 displays the calendar how I need it to. My CSS .MyCalendar .ajax__calendar_container { border:1px solid #7F9DB9; background-color: #ffffff; z-index : 1004 ; width:190px; } the textboxes which are overlaying the calendar don't have their z-index set anywhere although I have tried in my server side code to set their z-index to -1 if I detect IE7 to no avail. Any suggestions? 回答1: IE has problems with z

How do I inject javascript to a page on IE 8?

不想你离开。 提交于 2019-12-18 02:54:05
问题 Lets suppose that I have the following markup: <div id="placeHolder"></div> and I have a JavaScript variable jsVar that contains some markup and some JavaScript. By using Mootools 1.1 I can inject the JavaScript content into the placeholder like this: $('placeHolder').setHTML(jsVar); This works in Firefox, Opera, and even Safari and the resulting markup looks like this: <div id="placeHolder"> <strong>I was injected</strong> <script type="text/javascript"> alert("I was injected too!"); <

IE8 isn't resizing tbody or thead when a column is hidden in a table with table-layout:fixed

南楼画角 提交于 2019-12-18 02:49:20
问题 IE 8 is doing something very strange when I hide a column in a table with table-layout:fixed. The column is hidden, the table element stays the same width, but the tbody and thead elements are not resized to fill the remaining width. It works in IE7 mode (and FF, Chrome, etc. of course). Has anyone seen this before or know of a workaround? Here is my test page - toggle the first column and use the dev console to check out the table, tbody and thead width: <!DOCTYPE html PUBLIC "-//W3C//DTD

IE8 crashes when loading website - res://ieframe.dll/acr_error.htm

心不动则不痛 提交于 2019-12-18 02:11:52
问题 Our website crashes when one of our users loads the front page in IE 8.0.6001.18702. The page loads briefly and then IE stops loading it and shows an error message. The URL in the address bar is changed to: res://ieframe.dll/acr_error.htm#ourwebsite.com,http://demo.ourwebsite.com/login/ I've read accounts of this happening to other users of IE8 when loading sites such as facebook.com & barnesandnoble.com. Forums such as this refer to possible fixes, such as: unchecking the'Enable third party

is there any IE8 only css hack?

核能气质少年 提交于 2019-12-17 23:30:18
问题 For Internet Explorer 8 (IE8) I'd like to use the following CSS: color : green; I would like to apply a hack which only affects IE8, not to IE9, IE6 and 7. 回答1: Use conditional comments in HTML, like this: <!--[if IE 8]> <style>...</style> <![endif]--> See here: http://www.quirksmode.org/css/condcom.html You can test for IE versions reliably and also be sure other browsers won't be confused. 回答2: Use media queries to separate each browser: /* IE6/7 uses media, */ @media, { .dude { color:

Making d3.js compatible with IE8/IE9

允我心安 提交于 2019-12-17 22:42:30
问题 I am using a Leaderboard from the following link http://labs.juiceanalytics.com/leaderboard/index.html#2a65db98c6f451b7f071b630694bc350 In this leaderboard d3.js and d3.csv.js are being used. This leaderboard is working fine for me in all the browsers except IE8 and IE9. For these browsers some error in scriptting is there with d3.js. I have searched it out well on internet but i didn't find any promising solution to make it work with IE8 or IE9. The error which it is showing is that "Object

Why jsfiddle is not rendering at all in IE8 and previous versions?

二次信任 提交于 2019-12-17 22:39:22
问题 I tried to open http://jsfiddle.net/ in IE8 with BrowserMode-- IE8 and Document Mode--IE8 in developer tools. In other browsers it's working fine, and even in IE9 it's working fine. But I see javascript errors in IE8 and older versions of IE . SCRIPT1010: Expected identifier EditorCM.js?Spring, line 105 character 25 SCRIPT438: Object doesn't support property or method 'addEventListener' heyoffline.js?Spring, line 24 character 5 SCRIPT5009: 'MooShellEditor' is undefined jsfiddle.net, line 91