Skip to content

Instantly share code, notes, and snippets.

@chilinaz
Created February 19, 2013 06:29
Show Gist options
  • Save chilinaz/4983581 to your computer and use it in GitHub Desktop.
Save chilinaz/4983581 to your computer and use it in GitHub Desktop.
CSS: Old IE Fixes (mixed bag)
/* Fixes for Internet Explorer CSS - ie.css */
/* png fix for IE6 and lower
------------------------------------ */
* html #selector {
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='img/image.png');
background-image: none;
background-repeat: no-repeat;
background-color: transparent;
}
/* Self-Clearing Float Class - .group
------------------------------------ */
/* for IE6 ---------------------------- */
* html .group {
height: 1%;
}
/* for IE7 ---------------------------- */
*:first-child+html .group {
min-height: 1px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment