Created
October 7, 2012 15:39
-
-
Save plavet/3848702 to your computer and use it in GitHub Desktop.
CSS - Vertical align
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
#kutija{width:100%;height:100%;} | |
#vertical{/*vertical centering*/ | |
width: 1124px; | |
height: 616px; | |
position: absolute; | |
top: 50%;left: 50%; | |
margin-top: -308px; margin-left: -562px; /* negativna margina upola da bi centar funkcionisao vertikalno */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment