我从这里得到下面的代码。我想调整表单上所有文本框大小的大小。我的问题是,当我进入编辑视图时,在单击编辑框之前,文本的文本对齐方式没有在中心水平对齐吗?如何使该垂直居中?
之前:
仅在文本框中单击后即可正确对齐:
谢谢, EB
@media (min-width: 768px) {
.form-horizontal .control-label {
padding-top: 3px;
margin-bottom: 0;
text-align: right;
}
.form-horizontal .form-control {
height: 25px;
}
}