Last active
February 9, 2017 13:44
-
-
Save Lego2012/492b406ac5879f34aaa4ef0b4a94bf9a to your computer and use it in GitHub Desktop.
Fix IE 6/7 Double Margin/Padding Bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ul li | |
{ | |
float: right; | |
margin-right: 10px; | |
*display: inline; /*Target IE7 and bellow*/ | |
_display: inline; /*Target IE6 and bellow*/ | |
} | |
/* | |
This example fixes the double right margin bug | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment