Created
October 28, 2013 17:06
-
-
Save jklm313/7200659 to your computer and use it in GitHub Desktop.
Untitled
This file contains hidden or 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
* { | |
box-sizing:border-box; /* www.paulirish.com/2012/box-sizing-border-box-ftw/ */ | |
} | |
#all-wrapper { | |
width: 960px; | |
margin: 0 auto; | |
} | |
#content-left { | |
float: left; | |
width: 180px; | |
min-height: 400px; | |
background: indianred; | |
} | |
#content-middle { | |
display: block; | |
overflow: hidden; /* www.stubbornella.org/content/2009/07/23/overflow-a-secret-benefit/ */ | |
min-height: 300px; /* demo purposes */ | |
background: dodgerblue; | |
border: 5px dashed; | |
} | |
#content-right { | |
float: right; | |
min-width: 280px;/* change the value and see the middle box adjust its width to take available space*/ | |
min-height: 200px; | |
background: green; | |
} |
This file contains hidden or 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 id='all-wrapper'> | |
<div id="content-area" class="clearfix"> | |
<div id="content-left"></div> | |
<div id="content-right"></div> | |
<div id="content-middle"></div> | |
</div> | |
</div> |
This file contains hidden or 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
// alert('Hello world!'); |
This file contains hidden or 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
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment