Created
September 27, 2012 23:58
-
-
Save erikhazzard/3797180 to your computer and use it in GitHub Desktop.
full height %
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
<html> | |
<head> | |
<style> | |
body { | |
min-height: 100%; | |
} | |
#my-div { | |
background: #336699; | |
height: 100%; | |
position: relative; | |
width: 200px; | |
} | |
</style> | |
</head> | |
<body> | |
<div id='my-div'> </div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment