Created
March 24, 2011 17:49
-
-
Save edelabar/885512 to your computer and use it in GitHub Desktop.
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
.container { | |
width: 420px; | |
} | |
.content { | |
border: solid 10px #3570d6; | |
background: white url( background_invert.gif ) left center no-repeat; | |
} | |
.left { | |
float: left; | |
width: 200px; | |
height: 300px; | |
margin-left: 25px; | |
background-color: green; | |
} | |
.right { | |
float: right; | |
width: 100px; | |
height: 200px; | |
margin-right: 25px; | |
background-color: cyan; | |
} |
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
<div class="content"> | |
<div class="left"></div> | |
<div class="right"></div> | |
<div style="clear: both;"></div> | |
</div> |
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
... | |
.content { | |
border: solid 10px #3570d6; | |
background: white url( background_invert.gif ) center center no-repeat; | |
} | |
... |
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
... | |
.content { | |
min-height: 1px; | |
border: solid 10px #3570d6; | |
background: white url( background_invert.gif ) left center no-repeat; | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment