internet-explorer

Internet explorer, jQuery: input box jumps/moves when being replaced with the exact same one

What I want: To, on focus, change one input box into another by hide() and show(). What I get: In Internet Explorer (7/8), the input box moves a few pixels to the right when focusing. Works well in other browsers (obviously). Here's a link to where I have re-created the problem: < link removed due to no longer beeing relevant > ...

execCommand insertHtml in Internet Explorer

I'm building a wysiwyg-editor with an editable iframe using execCommands. Now i need to use the command 'insertHtml' which works perfect in Chrome and Firefox but of course it doesn't work in Internet Explorer. What is the standard solution to this problem? It's okay if it only works in IE8 but IE7-support would be nice too. ...

Rewrite a IE Code to a FF Code

This is the code (now is full): HTML: <div id="content" contentEditable="true" onkeyup="highlight(this)">This is some area to type.</div> Javascript: function highlight(elem){ // store cursor position var cursorPos=document.selection.createRange().duplicate(); var clickx = cursorPos.getBoundingClientRect().left; ...

:visible selector not working in Internet Explorer

I'm working on some basic form validation styles for an ASP.Net website. I need to select all span elements that are visible, and add a css style to another element. (Just to indicate which input fields are invalid.) The below code works like a charm in FF and Safari, but fails in IE. I've narrowed the problem down to the :visible selec...

$.isPlainObject($('...')) == true in IE

It doesn't in FF/Chrome and I don't think it should in IE. after all $() doesn't return a plain object, but an instance of $. Am I wrong? ...

IE not centering these images, is there a fix?

My HTML+CSS graphic My issue with this page is that the "High School", "Middle School", and "Elementary School" images center perfectly in all browsers except for IE6, 7, and 8. Relevant parts of the page: (Edited for clarity) CSS: #block { clear: both; width: 682px; } .education_level_wrapper { float: left; width: 1...

CSS Differences Between IE and Firefox: display

I am developing a web application which needs to work with both IE7 and Firefox 3.6. I am laying out the forms using CSS. The forms are pretty standard. I want each div (data-group) on its own line with the labels and options lined up together within the div (as a row). Here is the CSS that works in Firefox: .data-group { /*dis...

crash IE and firefox with this simple google search term

Just search eval error Specified cast is not validin google on IE or FireFox and both of them will crash. I am not sure if they are crashing or just closing that window as it doesnt affect other open windows. I tried this with Bing too and the result was same. IE - 8 Firefox - 3.6 Let me know if you get the same results? ...

Synergy and IE problem with new tab pages.

I'm running Win7 and IE8. In IE8, when I CTRL-CLICK a link to open a new tab, if Synergy+ Server is running, the link opens in a new window, not a new tab. If I stop the Synergy service, normal behavior returns. If I start the service again, the problem returns. I thought maybe Synergy was throwing away the CTRL key. However, if I clic...

IE 8 duplicates first element when printing.

Hello Everyone, I'm observing the following behavior when I use IE 8 to print a page from the webapp I'm working on. element n is an html element. The page is styled using a media=print sheet. In ASCII: +-----------------+ + element 1 + + element 2 + + *page-break* + + element 3 + + element 4 + +----------...

Loading content via AJAX destroy the font in IE.

Look at this page. Press the orange -> button and then the <- again. This paginator shows the page 1 by default and load the other pages' content via AJAX. However, that default page 1 content and the ajax loaded page 1 content don't look the same in IE, even when the html and css are exactly the same!. You can see the font is thin an...

Position fixed and width 100% element covering vertical scrollbar in IE

I have a div with WIDTH 100% and position fixed on the top of the page. It covers the vertical scrollbar in IE when vertical scrolling is needed on the html. What can I do to avoid this (I can't change the position fixed bit)? Can I detect whether page need vertical scrolling onload/resize and change that static div's width using jQuer...

JS/Jquery syntax for IE Window width and height

Hey All, I'm measuring the window and document width and height via the following properties : //measure the window and document height and width dynamically var w = $(window).width(); var h = $(window).height(); var wd = $(document).width(); var hd = $(document).height(); Works fine in firefox but IE kicks up a fuss. Is there an...

Monitor HTTP requests made by IE8

I thought developer tools could do this but I'm struggling to find it. Any other recommendations? ...

Internet Explorer or any Browser F1 keypress displays your own help

I would like to display the user selected help file when pressing F1. This should work on every browser where I test my application. How can I stop the default help file from being displayed? ...

csrf_token cookie deleted by another site?

I have a django site running on 1.2.1, and once in a while my users lose a lot of work because the csrf_token cookie does not exist and the page errors out with a 403 error on post. I narrowed this down to another site (that my users frequent) deleting the cookie on me. The site does this with the ActiveX ClearAuthenticationCache command...

css margin differences between servers

I have a development server and a production server to host my website. I am seeing differences in how the html is rendered on these servers but only in Internet Explorer. I am rendering a list of tags. Here is the markup. <div class="tag"> <ul> <li><a href="#">tag1</a></li> <li><a href="#">tag2</a></li> <li...

What do the attributes do in <script for=foo event=onmouseover>

I read some HTML like: <script for=foo event=onmouseover> ... </script> Just wondering what the attributes for=foo event=onmouseover mean? ...

Primer on ActiveX Controls

I would like to use an ActiveX control - almost exactly like Edraw - to load and edit MS Word documents in IE. I found this MS article and FramerEx; can I use FramerEx? How do I write the HTML to include FramerEx? Also, can you point me to a primer on ActiveX controls? Many thanks. ...

asp.net datagrid borders appear different (bad) in other browsers

Hey, I realize that pages are just going to look different in varying browsers, but mine is looking awesome in Chrome, ok in mozilla, and pretty bad in IE 7. Sadly, most people using my page will use IE. My issue is with the borders. I have a redish border around the rows of the grid. In chrome they all appear as they should. In Firefo...