Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to center label and input
Message
De
20/06/2013 12:50:28
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
Information générale
Forum:
CSS
Catégorie:
Autre
Divers
Thread ID:
01576751
Message ID:
01576783
Vues:
39
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform