Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.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;
}
<div class="content">
<div class="left"></div>
<div class="right"></div>
<div style="clear: both;"></div>
</div>
...
.content {
border: solid 10px #3570d6;
background: white url( background_invert.gif ) center center no-repeat;
}
...
...
.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