Created
September 24, 2012 09:05
-
-
Save welkang/3775042 to your computer and use it in GitHub Desktop.
Browser Consistent
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
//浮动双边距 | |
#imfloat { | |
float: left; | |
margin: 5px;/*IE下理解为10px*/ | |
display: inline;/*IE下再理解为5px*/ | |
} | |
//IE对min-height/width的支持完善 | |
#box { | |
width: 80px; | |
height: 35px; | |
} | |
html > body #box { | |
width: auto; | |
height: auto; | |
min-width: 80px; | |
min-height: 35px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment