Created
May 27, 2011 16:17
-
-
Save thebird/995603 to your computer and use it in GitHub Desktop.
<hr> cross browsers styling
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
hr { | |
background:#d8d8d8; | |
border:none; | |
border-bottom:1px solid #fff; | |
height:1px; | |
overflow: hidden; | |
line-height: 1px; | |
width: 100%; | |
display: block; | |
clear:both; | |
outline:none; | |
margin:0; | |
} | |
.ie7 hr, | |
.ie6 hr { | |
color:#d8d8d8; | |
height:2px; | |
line-height:2px; | |
} | |
/* creates this: http://pr-i.me/77rL */ | |
hr { | |
border:0; | |
border-top:1px solid #e4e0cd; | |
border-bottom:1px solid #e4e0cd; | |
height:2px; | |
overflow: hidden; | |
line-height: 2px; | |
width: 100%; | |
display: block; | |
clear:both; | |
margin:0; | |
} | |
.ie7 hr, | |
.ie6 hr { | |
color:#f9f9f6; | |
height:4px; | |
line-height:4px; | |
} | |
/* creates this: http://pr-i.me/76vG */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment