internet-explorer-6

What is haslayout?

两盒软妹~` 提交于 2019-11-26 12:44:01
问题 I\'ve read some article on it but didn\'t get what is actually. can anyone on SO explain me. Is it only related to IE6 only? What does zoom:1 ? Is layout is a IE only TAG? Edit: I found this info very informative for me Because Internet Explorer is so old (as it was one of the first browsers available), it hasn’t had the luxury of starting anew as current browser do. So as time went by, Microsoft began adapting new engines to make use of CSS. Seems fine… However, CSS changes the fundamental

How to get the start and end points of selection in text area?

落花浮王杯 提交于 2019-11-26 12:40:41
问题 i want to get the cursor start and end position of a selected range in a text-field or text-area. i tried lot of functions in various forums. but when the last character of the selection is a new line character JavaScript ignore it in IE6. any one having idea ? 回答1: Revised answer, 5 September 2010 To account for trailing line breaks is tricky in IE, and I haven't seen any solution that does this. It is possible, however. The following is a new version of what I previously posted here. Note

Javascript Image Resize

半世苍凉 提交于 2019-11-26 10:21:47
问题 Does anyone know how to resize images proportionally using JavaScript? I have tried to modify the DOM by adding attributes height and width on the fly, but seems did not work on IE6. 回答1: To modify an image proportionally, simply only alter one of the width/height css properties, leave the other set to auto. image.style.width = '50%' image.style.height = 'auto' This will ensure that its aspect ratio remains the same. Bear in mind that browsers tend to suck at resizing images nicely - you'll

Remove border from IFrame

房东的猫 提交于 2019-11-26 08:39:22
问题 How would I remove the border from an iframe embedded in my web app? An example of the iframe is: <iframe src=\"myURL\" width=\"300\" height=\"300\">Browser not compatible.</iframe> I would like the transition from the content on my page to the contents of the iframe to be seamless, assuming the background colors are consistent. The target browser is IE6 only and unfortunately solutions for others will not help. 回答1: Add the frameBorder attribute (note the capital ‘B’ ). So it would look like

Should we support IE6 anymore? [closed]

佐手、 提交于 2019-11-26 08:35:12
问题 Are we supposed to find workarounds in our web applications so that they will work in every situation? Is it time to do away with IE6 programming? 回答1: This depends so much on the context of the application, and of its users. There are two key aspects: what browsers are your users using; and how important is it that they can access/interact with your site. The first part is generally easily establish, if you have an existing version with stats (Google Analytics or similar is simple and great)

IE6/IE7 css border on select element

心已入冬 提交于 2019-11-26 08:22:29
问题 Does anyone have a solution for styling the borders of \"select\" elements in Internet Explorer using CSS? 回答1: As far as I know, it's not possible in IE because it uses the OS component. Here is a link where the control is replaced, but I don't know if thats what you want to do. Edit: The link is broken I'm dumping the content <select> Something New, Part 1 By Aaron Gustafson So you've built a beautiful, standards-compliant site utilizing the latest and greatest CSS techniques. You've

IE6 PNG transparency

。_饼干妹妹 提交于 2019-11-26 08:13:31
问题 How can I fix PNG transparency bug in IE6 for background image? 回答1: I like this Javascript solution writen by David Cilley some time ago. It gets out of the way of compliant browsers and can be used with any back-end you want. It does still require a blank gif image though. Add these functions to your HTML Header or other existing .js include: <script type="text/javascript"> function fixPngs(){ // Loops through all img tags for (i = 0; i < document.images.length; i++){ var s = document

Why are cookies unrecognized when a link is clicked from an external source (i.e. Excel, Word, etc…)

老子叫甜甜 提交于 2019-11-26 08:04:08
问题 I noticed that when a link is clicked externally from the web browser, such as from Excel or Word, that my session cookie is initially unrecognized, even if the link opens up in a new tab of the same browser window. The browser ends up recognizing its cookie eventually, but I am puzzled as to why that initial link from Excel or Word doesn\'t work. To make it even more challenging, clicking a link works fine from Outlook. Does anybody know why this might be happening? I\'m using the Zend

iframe shimming or ie6 (and below) select z-index bug

有些话、适合烂在心里 提交于 2019-11-26 07:42:23
问题 Uhm I\'m not sure if anyone has encountered this problem a brief description is on IE6 any <select> objects get displayed over any other item, even div\'s... meaning if you have a fancy javascript effect that displays a div that\'s supposed to be on top of everything (e.g: lightbox, multibox etc..) onclick of a certain element and that div overlaps a <select> your div get\'s to be displayed as if it\'s under the <select> [on this case a max and minimum z-index doesn\'t work ] I\'ve tried

Getting an absolute URL from a relative one. (IE6 issue)

此生再无相见时 提交于 2019-11-26 05:59:45
问题 I\'m currently using the following function to \'convert\' a relative URL to an absolute one: function qualifyURL(url) { var a = document.createElement(\'a\'); a.href = url; return a.href; } This works quite well in most browsers but IE6 insists on returning the relative URL still! It does the same if I use getAttribute(\'href\'). The only way I\'ve been able to get a qualified URL out of IE6 is to create an img element and query it\'s \'src\' attribute - the problem with this is that it