internet-explorer

firefox/safari/ie top margin ,left margin 0

if i use <BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0> tag like this, will this ensure element i put in my html will displayed the same across all browser? the reason i asking this is because, i was told Internet explorer renedering of the page is slightly different .In other words, if i put img tag in a page and rende...

this.type='password' doesn't work in IE, but all other browsers it does

I have an input field that is by default set to type="text" so that the word Password can be displayed in it. I have the following to change it to a password field when the user selects it, which works fine in any browser I have tried except Internet Explorer. onfocus="this.type='password';" How would I go about making this work in I...

Is there a way that I can detect if Firefox will open a particular URL in an IE tab?

I have a web page that links to another web application, which unfortunately only completely functions in IE, so, when viewing the original page with another browser (like Chrome or Safari) I display a warning that the application won't operate fully operate unless opened in IE. Of course, some savvy users of Firefox have the IE tabs ex...

Why would a JPG display in Firefox, but not IE?

This is the weirdest thing I've ever seen... Any ideas? This is driving me insane. If it helps, this is an image that's been uploaded by a client using a form then moved using PHP and renamed. ...

JS problem with getElementById in Explorer

Hello, The html code (with javascript) shown below works in all browsers except IE. I recently learned that IE don't want to handle the getElementById and id codes. Is somebody so kind to advise me, is there another way to get it work or is there a workaround code? Thanks in advance, Erik <html> <head> <meta http-equiv="content-type...

CSS to display unordered list horizontally in IE 6 and 7

I've created a template for WebSVN (see it in action here) and have worked hard to make it use web standards and validate. It looks great in most browsers, but as I feared, IE 6 and IE 7 can't quite hack it. In my case, the problem is that they refuse to render the unordered list for my navigation horizontally — they both display each <l...

Background not showing for jQuery tabs in IE6 and IE7

Hi everyone! I'm using jQuery to create some tabs on a site i'm working on. I'm find that although the tabs work fine in both IE6 and IE7, the background image i'm using is not showing. I changed the image to a colour but the tab background is still showing as transparent. http://development.dekken.co.uk/cervello/ Anyone got any ide...

Oracle Jinitiator with NTLM Authentication

I am trying to load a java applet using Oracle Jinitiator specifically version 1.3.1.13 but hit problems when this goes through a ISA proxy server which requires authentication. Is this a common issue, is there anyway I could use Internet Explorers pass through authentication? ...

Determining flash component has loaded.

Hi, I have an HTML page containing a flash file, I need to write code in javascript that would execute once the flash file is loaded. (its actually the code to overide the __flash__removeCallback to solve the famous line:52 bug refer: https://bugs.adobe.com/jira/browse/FP-529) The actual solution for the bug is doing so on window.onUnlo...

How can move the code above into the jQuery-plugin

I'm writing a plugin for jQuery. Turns out that in order to use it a page HTML must containt the following code <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <?import namespace="v" im...

Issues retrieving selected text from IE browser

I'm creating a IE browser plug-in that needs to be kept updated about what text has been selected by the user, or if no text is currently selected at all. I learned how to get the selected text by reading here. This is my code for doing so: var doc = browser.Document as IHTMLDocument2; var selection = doc.selection as IHTMLSelectionO...

How to see webpage speed in IE7

What's the best way to see a webpage's speed in IE7+? For Firefox, there's the Lori (Life-of-request info) plugin, that gives time to first byte, time to completion, file size and number of requests, all in the bottom of the browser window. The closest I can think of is fiddler, but that gives a lot more info than I'm looking for and i...

SWT Browser Problem on Vista

We're running Java Swing and are using an SWT bridge to get ahold of the SWT browser. Everything normally works just fine, but we have a problem on a Vista test machine. It worked fine until just a week ago or so. The call stack: org.eclipse.swt.SWTError: No more handles at org.eclipse.swt.SWT.error(SWT.java:3589) at org.eclipse...

Does IE ignores custom css selectors?

Hey guys, IE is freaking me out. my css code looks like this: kl { font-size:10pt; font-weight: bold; color:#6e90a6; } and my html code looks like this: <div id="testid"><kl>test</kl> Why does IE ignore my CSS code? Please could someone help me :)? Update: Great responses guys, that was really fast :) Thank you all...

Internet Explorer COM automation: Converting numeric error code to string

I am writing some code for driving Internet Explorer from a Perl 5 program through Win32::OLE, and I am looking for ways to convert numeric status/error codes that are delivered back to the Perl program via events (such as NavigateError) into a somewhat more human-readable form. Is there some kind of library function that converts i.e....

IE8, compatibility view on local files?

I just developed a small website and tested it locally in IE8, there is no compatibility view button but under settings i find an option called "display intranet sites in compatibility view", this option is checked so i trust that all local files are rendered as IE7. I then upload the page to my server and everything works fine in IE8-m...

What is cross browser support for JavaScript 1.7's new features? Specifically array comprehensions and the "let" statement.

https://developer.mozilla.org/en/New_in_JavaScript_1.7 A lot of these new features are borrowed from Python, and would allow the creation of less verbose apps, which is always a good thing. How many times have you typed for (i = 0; i < arr.length; i++) { /* ... */ } for really simple operations? Wouldn't this be easier: [/* ... ...

Funky rendering in IE for HTML + CSS

http://churchcentral.com/rfi.php?site%5Fid=4&amp;division%5Fid=2144 is the page, and IE only is the problem. If you notice, the text at the end of "Step 2", the text "the next page" is repeated. If you highlight either of those portions of text, IE will highlight both of them. Is this a bug in IE? We've seen this happen on the same pa...

Why are IE and Firefox returning different overflow dimensions for a div?

I have a div with a fixed size of 100px. scrollWidth and scrollHeight works fine if the text in the div is normal (no word is long enough to fill the one row entirely). However, if there is any text with one word rendering wider than the 100px it will cause a problem. Let's say the text is like "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890": t...

Automatically run a logon process from IE

I need to write a script which will post username and password onto a server url, fetch the session cookie and save it into IE's cookie directory. Basically I want a script to automatically log me into a site simply by running it. Any help on how to do it? Anything from C, VBS to python, perl will do. ...