Created
May 24, 2012 14:14
-
-
Save tcomaj/2781815 to your computer and use it in GitHub Desktop.
CSS: IE6, IE7 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: left; | |
margin-left: 5px; | |
*display: inline; /*IE7 and below*/ | |
_display: inline; /*IE6 and below*/ | |
} | |
/* this example fixes double left margin bug */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment