internet-explorer

Best work around for the broken box model in IE6 w/ respect to padding?

I have noticed that both IE6 and IE7 push the parent div down when an element inside has padding-bottom ... what is the best fix for this? Is it possible to fix this with valid css? EDIT The solution I used was to set overflow: auto in the child element (as mentioned below in the accepted answer). I went with this approach because my...

MSIE Browser height ?

Does anyone know how to get the browser height in IE7+ with javascript? I've seen several ways to get the document or the body height but this is not the same. window.innerHeight works fine in firefox and other browsers, but ie doesnt seem to support it. Thanks ...

CSS: When using float:left to keep my content anchored to my menu by its left side, the menu dissapears in IE

I have a menu of links on the left, and content in the middle. If the content is longer than the links, it will wrap below them instead of staying neatly to the right. Adding float:left to my content div fixes this, except in IE, where it causes the menu (and the footer) to disappear entirely. I need to either fix the problem with floa...

Need help with jquery/javascript popup window script - getting weird error in internet explorer

Hi I am trying to build a jquery script that will open a new browser window (popup window) for a mail like application (user can double click on mails and they will open in a new window). That is not particular hard. My problem is that I want to keep track of the opened windows, so that if a user double clicks on the same mail item a s...

How to make WebBrowser to save its content as an MHT file?

Internet Explorer can save its content as an MHTML file using the "Save As..." menu command. Is this feature exposed by its COM interface? ...

How can I keep an IE page request alive more than 1 minute?

If you are connected to the Internet directly (and not through a proxy) and requests for a page (get/post) in Internet Explorer 7, the default time-out is 1 minute. If the response from the web server takes more than a minute then you end up getting a "Network error" from IE. How can I increase this timeout in IE? Microsoft has docume...

CSS background url () not appearing in IE, works in FF/Safari

Hello All, I'm debugging my website for the dreaded IE6 but I'm officially stumped. Appearance in Firefox: http://dl-client.getdropbox.com/u/5822/firefox.tiff Appearance in IE6: http://dl-client.getdropbox.com/u/5822/ie6.tiff Live site: Motolistr.com The following CSS works great in FF and Safari, but doesn't in IE6. #search_sort{...

IE7 CSS inherit problem

I have set some style for h2 tags (color, font-size, etc.), but when I put "A" tag inside, then style becomes as link. My html: <h2> <a class="no-decor" href="http://localhost/xxx/"&gt;Link&lt;/a&gt; </h2> So, as You can see, I've created "no-decor" class. It should inherit h2's style for "a" tag. a.no-decor { color:inherit; fo...

How to clean up internet explorer cookies programmatically?

How to clean up internet explorer cookies programmatically? Is there some windows API function to do it? ...

How to reduce the number of cert validation requests... (IE is killing me slowly)

On a customer's internal network, I can make a request to my SSL site using IE6 SP1 (on Win2K) and see one cert validation requests, but if I use IE6 SP2 (on XP) 13 separate cert validation requests get fired off. Needless to say, this slows down my page load a lot. Firefox loads the page just fine with no unnecessary cert validation r...

CSS: Scrollable Nested Table, works in FF, fails in IE

I'd really love this to work in IE. I'm not able to change the fact that tables should not be used here. IE is the only browser the project I'm working on is required to support. Here's the code: <html> <body> <style type="text/css"> #test table { border-collapse: collapse; table-layout: fixed; width: 95%; } #test table td {...

How do I get IE 7 to open XHTML files?

An application I'm building is generating XHTML documents that are going to be distributed in a bunch of different ways, including email. I can open these documents in Firefox or Chrome (and by "open" I mean from Windows Explorer, not through a web server). With IE 7, though, I'm having two - possibly three - different problems. If th...

jquery hide show div problem (internet explorer)

firstly i'm sorry for my bad english. i guess my qestion is simple, but i didnt solve it. when i clicked togglediv, commentdiv must be visible or hidden. this code is runing on firefox, but not i.e () $(document).ready(function(){ $("#togglediv").click(function(){ if($("#commentdiv").is(":visi...

IE Input type text weird behavior.

Hi, I have a google suggest like utility on my page. It automatically fills a value in one of input type text box. In IE, after the value is being filled. It doesnt allow mouse to click in between and curor jumps to the end always. Also with the left and right keys,the cursor jumps to the beginning. What's the cause. Thanks <div id='in...

What could cause Session Cookies to disappear mid-session?

I have a web application which uses a session cookie to keep users logged on. When they log on, the system generates a GUID which it associates with the User record in the database. The GUID which is then stored in a cookie so it can be then read on each page load and checked against the database entry. The code to set the cookie is qui...

Overriding a JavaScript results in infinite loop in IE but not in Firefox

I'm using the following code to override a JavaScript function named dismissRelatedLookupPopup(). In Firefox, this works without a problem (displays the alert once and runs my code), but in Internet Explorer 7 it results in an infinite loop displaying the alert() forever. I'm doing this because I don't control the code where dismissRelat...

IE8 shows "Internet Explorer cannot display the webpage"

Hi folks, I've got a strange one. I just installed IE8 on XP, and a site I manage now cannot be displayed. When I go there, I get: This problem can be caused by a variety of issues, including: "Internet connectivity has been lost. "The website is temporarily unavailable. "The Domain Name Server (DNS) is not reachable. "The Domain Na...

IE and Memory accumulation in Javascript

Here is the test URL http://edventures.com/temp/divtest.php Procedure: Close all IE instances. Open the URL in IE7 Open the task manager, look for memory consumed by IE Now click on Create button, Watch the memory it will jump up by about 2K Now click on Destroy button and the DIV will be destroyed but the memory remains the same. Y...

IE7 DIV border printing problem

I have a web page that renders the same in IE7, Firefox, and Safari - except when printing. IE7 appears to allocate too much space for borders when printing. In the example below, the box heights plus borders should add up to the same height in the 2 columns. I set the borders to 10px to exaggerate the problem. I hate CSS hacks, and so...

IE warning workaround? Page w/Secure and insecure items

I have a page that is viewed secured with 'https' in the URL, that also contains youtube urls to play video from youtube. Since the youtube URL contains 'http' with no 's' IE is giving an a warning dialog of "This page contains both secure and non-secure Items." Is there a way I can workaround this in Javascript? Maybe after the page...