Q
垂直对齐输入?
0
A
回答
2
0
让.holder
表格单元格。
.holder{
height: 400px;
width: 400px;
background: tomato;
display: table-cell;
vertical-align: middle;
}
.input{
/* remove the styles */
}
0
尝试在父line-height
财产。将其设置为400px
将使所有内容垂直对齐。
相关问题
- 1. 输入占位符垂直对齐
- 2. 如何垂直对齐输入框
- 3. 带标签的垂直对齐输入
- 4. 对齐垂直输入元素div
- 5. Crossbrowser输入文本垂直对齐
- 6. 垂直对齐插入符
- 7. 垂直对齐
- 8. 垂直对齐
- 9. 垂直对齐
- 10. 垂直对齐
- 11. 垂直对齐
- 12. 垂直对齐
- 13. 垂直对齐
- 14. 垂直对齐
- 15. 垂直对齐
- 16. 垂直对齐UILabel
- 17. NSMutableAttributedString垂直对齐
- 18. Css垂直对齐
- 19. CSS垂直对齐
- 20. NSComboBox垂直对齐
- 21. HTML垂直对齐
- 22. 垂直对齐列
- 23. 垂直对齐 - Firefox
- 24. 垂直对齐div
- 25. CSS3垂直对齐
- 26. 垂直对齐CSS
- 27. CSS垂直对齐
- 28. 垂直对齐DIV
- 29. 垂直对齐IMG
- 30. UITextField垂直对齐