Last active
February 18, 2016 04:34
-
-
Save dedosmedia/3027053e6ba8dfa91f78 to your computer and use it in GitHub Desktop.
Centra el texto de un label, segun el tamaño del div que lo contiene
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
#interactive label#text { | |
width: 210px; | |
display: table-cell; | |
text-align: center; | |
vertical-align: middle; | |
cursor: pointer; | |
} | |
.contenedor{ | |
display: table; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment