internet-explorer

position:fixed on element in ie7/8 and problems with the scrolling of the content inside it

I got an element fixed in the center of the screen, having specific dimensions (let's say 500x500). The element has content, which is larger then the height of the element and thus causes scroll bar to appear, which is fine. In FF/WebKit everything works nice. However in IE 7/8 ... content of the fixed element doesn't scroll, or scrolls ...

Get attached file content with XmlHttpRequest and Internet Explorer

I'm using XmlHttpRequest to perform a text file download, and here is the response header I have got from the server : Connection: keep-alive Transfer-Encoding: chunked Content-Disposition: attachment; filename="template" Content-Length: 244 Pragma: no-cache Cache-Control: no-cache, must-revalidate Expires: 0 Content-Encoding: deflate ...

jQuery validate freezing IE8 on dependent fields

The following code was working on FF and on IE8. Now (regular Win-updates) IE freezes as soon as it tries to apply any part of either or both rulesets for ev_starttime and ev_endtime. IE CPU usage shoots to 50%, but memory usage is not affected. There are no error messages from either browser (using Firebug for FF and IE Developer Tools ...

How to hide cmd.exe console?

I put this below code inside my *.dll for Internet Explorer. FILE *child = _popen("java -jar c:\\simmetrics.jar c:\\chtml.txt c:\\thtml.txt > c:\\output.txt", "r"); fclose(child); My problem is, when I run my Internet Explorer, the will be a cmd.exe console open too. I don't want the console to suddenly appear when I run my browser....

How can I have a certain set of CSS properties affect only IE users?

definately one or the other, not one and the other if.... HTML doesnt have an else function.. or does it? could you please be so kind as to code it in your answer im a php newb but so far getting nice results! this one's got be buggered though. if browser = IE then css/ie.css else css/moz even a webkit 3rd option if you think its need...

MooTools events not firing in IE8

I have a Mootools asset created like so: // Create a new asset var asset = new Asset.image(path, { title: this.language.download, events: {click: this.download.bind(this, link)}, }); I have a method of a MooTools object defined as such: download: function(e) { // The path to download console.log('download: ' + e); },...

Stretching width correctly to 100% of an inline-block element in IE6 and IE7

I have the following markup, where I am attempting to get the right hand side of the second table to align with the right hand side of the heading above it. This works in IE8, Firefox and Chrome, but in IE6/7 the table is incorrectly stretched to fill the width of the page. I'm using the Trip Switch hasLayout trigger to apply inline-blo...

Lowering document.domain

What am I doing wrong? According to specs lowering domain with javacript should be possible in IE8 and IE7 but my code only wors in FF and throws Argument Exception in IE <html xmlns="http://www.w3.org/1999/xhtml" > <body onload="alert(document.domain); try { document.domain = 'if.se' } catch(e) { alert(e); }; alert(document.domain);"> ...

jQuery .noconflict with prototype not working in (you guessed it) IE.

On my new customer page, I have successfully implemented a jQuery show/hide toggle alongside a Prototype script using jQuery's .noconflict. (Thanks to all for answers!) But as the world of the net is, IE's not playing ball. <script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"> </script> <script type="text/javas...

IE6 and IE7 Input padding CSS

I have input boxes with a height of 25 pixels. In Firefox, Safari and IE8 automatically vertically align the text of it in the middle correctly. However in IE6 and IE7 the text is aligned to the top. How may I resolve this? Adding padding-top increased the total height of the input as I have explicitly declared its height. I don't wis...

Editing css by js in ie giving error

I need to do this: document.styleSheets[i].rules[1].style.cssText = "cursor: url(images/grabbing.cur), default !important;"; and if I'm checking: alert(document.styleSheets[i].rules[1].style.cssText); its giving: cursor: !important Why is it not setting the whole string in this css? It's a problem in Internet Explorer only, it wo...

Using a WindowsXP VBScript to automate Internet Explorer, how can I 'click ok' when a dialog box appears?

My Windows VBScript opens an InternetExplorer.Application object, and runs through some navigation. At one point the page I'm working with displays a dialog box in which I must click "OK" or "Cancel." Is there a way to tell the VBScript to click "OK" when the dialog box pops up? ...

ASP.NET MVC FileContentResult IE 8.0 hangs on download

some of my users are expieriencing problems when they try to download a report, the download just hangs on 0%, restarting IE usually fixes the problem. why does this happen? i am using ASP.NET MVC (v1), the my action looks like this <Authorize()> _ <AcceptVerbs(HttpVerbs.Get)> _ Function RenderReport(ByVal guid As Guid, ByVal anonym ...

IE page redirect hanging

My app does a POST to my local server to create a new DOM element, comes back and should redirect to the same page with the new element. The problem is when it gets back from the server, the app hangs for almost 2 minutes before doing the redirect. I've isolated the issue to the fact that IE seems to have trouble with my tree structure...

CSS compilers and converting IE hacks to conditional css

Skip to bottom for question, but first, a little context. So I have been looking into CSS compilers (like Sass & Less) for a while, and have been really interested in them, not because they help me understand anything easier (I've been doing css for a couple of years now) but rather they cut down on cruft and help me see things easier. ...

Use any CSS compiler (Sass, Less) to generate the selector

So I've recently been playing around with CSS compilers, but I have no idea how (or if it's possible) to dynamically generate pieces of a selector. For instance, let's say I wanted to make mixins to get display: inline-block; to work cross browser. I would have to do the styles, yeah, but I would have to do the IE6/7 selector hacks ...

php include not working on IE?

This include is not working in IE: <?php include_once 'localization.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Global...

Wordpress menu issue on IE!

So I am building a site for a client. The problem is the menu I made doesn't work on IE. Here's the site: http://robertnogueira.com You'll see that the topmost menu isn't where it is supposed to be.. I know this could be a very simple problem to fix. But since I am new to web development I really can't find a way to fix it... Please...

IE7 and 8 Hangs Randomly on CSS Images

We have an ASP.NET 3.5 application that has been in production for over a year. Our last release was a couple of months ago. We use CSS for styling and application of background images to divs and such. The server is Windows 2003 with IIS. Suddenly, this week, we have had reports from some users that the page seems to hang up while l...

SetTimeout() and ClearTimeout() to stop freezing of IE8 and dialog aobut scripts overruning

I have some 3rd party software where i can open nsites and run javascript. Because some sites make me stack overflow i ussed the trick wih Registry to modify Styles WRAD to FFFFFF. Still some sites may do stack overflow due to DOM. I thought on start of running each site i would do javascript: setTimeout("window.status='one';",10000); ...