Created
June 24, 2016 17:26
-
-
Save leepettijohn/ea8ba483bdcafef2526e50a4cc7a7f77 to your computer and use it in GitHub Desktop.
Middle floating div between two fixed divs
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="leftCol">Left</div> | |
| <div id="rightCol">Right</div> | |
| <div id="centerCol">Center</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
| #leftCol {float: left; width: 75px; background: red; min-height: 100px;} | |
| #rightCol {float: right; width: 175px; background: green; min-height: 100px;} | |
| #centerCol {overflow: hidden; background: blue; min-height: 100px;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment