Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to center label and input
Message
From
20/06/2013 12:50:28
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
CSS
Category:
Other
Miscellaneous
Thread ID:
01576751
Message ID:
01576783
Views:
40
You might find this interesting. http://twitter.github.io/bootstrap/base-css.html#forms

Have you tried adding the input tag inside of the label tag?
<-lable>this is my label <-input ... /> <-/label>
>I would like to center a label and the input controls in a span of div class="row". I placed both the label and the input in the div class="control-group" and manually set the style of this div to "text-align:center". What happens is that Input is then centered but the label, as far as alignment, is ignored (stayed in place). How can I make both label and input center together?
>
>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform