Created
June 19, 2013 21:08
-
-
Save piperchester/5818069 to your computer and use it in GitHub Desktop.
Centering an input label. Extremely simple, but potentially not obvious.
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
| containing-div { | |
| width: 100%; | |
| text-align: center /* Centering the text is necessary to center the input label. */ | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment