Created
March 28, 2012 12:22
-
-
Save johanovic/2225769 to your computer and use it in GitHub Desktop.
To test my positions
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
/** | |
* To test my positions | |
*/ | |
div.main { | |
background: #ccc; | |
color: #ededed; | |
} | |
#blockleft { | |
background: black; | |
width: 33%; | |
float: left; | |
} | |
#blockmiddle { | |
width: 33%; | |
float: left; | |
background: blue; | |
position:relative; | |
} | |
#blockright { | |
width: 33%; | |
float: left; | |
background: pink; | |
} | |
div.header { | |
background:red | |
} | |
div.footer{ | |
background: yellow; | |
} |
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
<body> | |
<div class="header"> | |
test. some more text. | |
</div> | |
<div class="main"> | |
<div id="blockleft"> This is a left bound block</div> | |
<div id="blockmiddle"> This is a middle block </div> | |
<div id="blockright"> This is a block at the right </div> | |
test. some more text. | |
</div> | |
<div class="footer"> | |
test. some more text. | |
</div> | |
</body> |
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
{"view":"split-vertical","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment