internet-explorer-8

CSS divs width become 100% when the float is set to right in IE 8.But works fine in firefox & chrome

So here is my CSS problem with IE 8 I have a parent div and 2 child div. i want the parent divs width to be increased based on the width of the inner -child div's.It works well in firefox,But in IE8,the first child div's width going to the enitire page width when i have a float:right for the inner element of that div. My HTML markup <...

Has anyone experienced an issue with IE8 displaying phantom form border in non-compatibility mode?

Hello SO: I am working on an ASP.NET MVC (framework v3.5) website, and this form page IE8 displays a border on top that looks to me like an empty element with a border floating on top of the form. Here are screen shots: I narrowed it down to the form, because after I removed the form generation code, the line ceased to display. As ...

Why doesn’t setting the “disabled” property of a <link> tag via JavaScript work in IE 8?

I am implementing a JavaScript function that enables/disables two CSS file of a website: function switch_style () { var i, link_tag ; for (i = 0, link_tag = document.getElementsByTagName("link"); i < link_tag.length ; i++ ) { if ((link_tag[i].rel.indexOf( "stylesheet" ) != -1) && link_tag[i].title) { ...