CSS, Internet Explorer

Internet Explorer Consistent Button Width Fix

/* IE6 */
* html input {
    overflow: visible;
    width: 1px;
}

/* IE7 */
*+html input {
    overflow: visible;
}
Advertisements
Internet Explorer

Force Internet Explorer Compatibility Mode

Are you fed up with that damn Internet Explorer compatibility button? Well, look no further!

Just add this to the top of your page and all your problems will be solved. IE8 will run as IE7.

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

Some say this does not truly emulate IE7 but so far I have not found any differences other than some minor JavaScript refactoring to overcome a more secure version of IE7.