Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to center label and input
Message
 
 
To
All
General information
Forum:
CSS
Category:
Other
Title:
How to center label and input
Miscellaneous
Thread ID:
01576751
Message ID:
01576751
Views:
44
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
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform