internet-explorer

How do you work around IE not supporting :after?

I've got a bunch of lists <ul> <li class="first">Item 1</li> <li>Item 2</li> <li class="last">Item 3</li> </ul> styled with li:after { content: ' / '; } li.last:after { content: ''; } This has to be a sort of commonplace problem. I'm thinking i could either clutter the html and put in intermediary <li>'s containing the ch...

How to Target IE7 IE8 with CSS valid code.?

I want to Target with CSS valid code. to IE7 and IE8, Please Give me some Information about this Issue and CSS code should be W3C Valid. IE8 is here. Some time we fix for IE7 but not work in IE8. ...

Creating conditional comments with XSLT ?

I want to create conditional comments in XSLT. But when I use this: <!-- [If IE7] [endif] --> in an <xsl:comment>, XSLT removes it from the output when it is rendered. Is there any way to create conditional comments in XSLT? ...

IE:"This.container" is null or not an object

Hi there! I have this error in IE7 not in Firefox3 it says "This.container" is null or not an object at line 77 of character 3 of php file. The line 77 is as follows: <input name="news_title_txt" type="text" class="fieldcell_" id="news_title_txt" size="50" ></td> ...

Comparing performance - htc vs jQuery

I have a (IE only) web app which now uses htc to render html widgets. I am considering migrating the app to jQuery. How does the performance compare between htc and jQuery. ...

Div not properly hiding in IE

I've got few divs on my website - on the load I want some of them to be hidden, some shown. I am hiding the ones I don't want like this: $(".divToHide").hide(); It works well in Chrome, Firefox, IE8 an Opera... It doesn't in IE6 (I haven't tested on previous version yet...) - when I load the page all the divs are hidden properly. When...

control the working directory for <input type="file">?

Full story: I am working on a project for my company that requires users at each of our locations to upload reports generated by a third party software. All reports generated by this software are always placed in the same directory. Some of our less computer-literate associates, judging by past(and ongoing) experience with a similarly di...

How to create a sidebar in Internet explorer

I want to create a sidebar same as Firefox sidebar in IE, something similar to IE developer toolbar, IE http analyzer, .... Can anyone help me here? ...

IE 7/8 rendering Iinline (Floated Divs) as block: widths do not adjust to content?

I have a block element (DIV) who stretches across an entire page. It contains multiple floated DIVs of variable width. This element can live on many web pages (anyone can put it on their website). In FF on all sites it is rendered correctly and the floated DIVs are only as wide as their inner contents. In IE, it works sometimes- but on o...

apache localhost sites opening in Firefox, but not IE or Safari?

I'm running WAMP on Vista and have Apache virtual hosts and my hosts file all set up to allow me to test sites locally using an address like this: http://testsitex.localhost:8080 Only problem is, it only works in Firefox. IE and Safari (currently the only other browsers I've tried, and the two I'm most concerned about) display an an er...

Issue with jQuery $.get in IE

I have a login form which appears at the top of all of my pages when the user is logged out. My current jQuery/javascript code works in Firefox 3 but not IE 7. The code queries a page which simply returns the string "true" or "false" depending on whether the login was successful or not. Inside my $.ready() function call I have the fol...

Setting focus on an html element in Internet Explorer

I'm trying to set the focus on a text input element using document.getElementById( 'id' ).focus() This works in Firefox 3, but does not work in Internet Explorer 8. What is the correct way to set focus on an HTML element in Internet Explorer? ...

How can I show a message to IE6/IE7 browsers to upgrade to IE8 and have IE8 not show the IE7 warning?

I want to only allow users with IE8 (not IE6, IE7) or another browser to access my site when logged in. I followed: http://code.google.com/p/ie6-upgrade-warning/ But I also wanted it to not allow IE7 users to use the main site when logged in (they can view public pages.) The reason is that the main web application has a lot of JavaScri...

How to find out what "kind" of document is being displayed in IE

Hi, i am using c# to create a button for IE and this button performs certain actions that all depend on the document being a PDF document. I am trying to setup a guard to prevent any action taking place if the document type is not a PDF but not sure how as IE hands over the document to adobe and reader takes charge. I am using both SHDoc...

Another favicon not working in IE...

Hi, I've read through and tried all the favicon fixes already posted. Including: Refreshing the cache Using a different favicon that works on other websites Using a favicon generating website Using a Photoshop favicon plugin Using an absolute path Using a relative path It works fine in all the other browsers. I'm using IE8 in Vista v...

IE textarea width changes when user types some text

I have a page in which there are a few textarea and <input type="text"> html controls. These elements are placed in a div tag: In IE 7 after the user types some text in textarea, the width of the textarea changes on its own: and now again if the user types some text in the textbox, the textarea agian returns to its original width: ...

IE6 double margin bug

When we float a fixed width div element to the left, the margin-left's value is doubled. Is there any solution available? I'd prefer solutions not requiring JavaScript please. ...

How to change the selected text color In Internet explorer?

I have seen in many weblogs when we select text the background color of the text changes rather than usual blue. This Tech Works in Firefox and Safari, is there any method available for Internet Explorer? ...

Detect Plugins in Internet Explorer without Instantiating the Object

Normally when you use VBScript or JavaScript to CreateObject to detect a plug-in, the user gets the somewhat "jarring" security exception. What are some good ways to detect IE browser plugins without actually instantiating the object? ...

Setting IE "Optical Zoom" feature using Javascript/CSS

The site I'm maintaining has been designed pretty rigidly using pixels for font sizes, dimensions, absolute positioning etc. Now there is a feature request to add font resizing by users. While I know that is impossible without redesigning the site from the ground up using relative dimensions, I discovered that the site plays pretty nice...