Bootstrap-horizontal alignment

If it is possible to get right alignment marks in twitter-horizontal bootstrap form?

So, in this horizontal form example http://twitter.github.com/bootstrap/base-css.html#forms the letter "E" in "Email" will contain the letter "P" in "Password".

+4
source share
1 answer

Actually, they are correctly aligned as they are. I think you want to align them (so P over E), if I understand correctly. If so, you can try the following:

.form-horizontal .control-label { text-align: left; } 

(it is "text-align: right;" by default in bootstrap.css)

+22
source

Source: https://habr.com/ru/post/1438996/


All Articles