我在尝试对齐文本输入时遇到问题。这是我的页面最初的样子:
#items{
float: right;
position: relative;
right: 500px;
clear: both;
}
请注意“Poids Total(kg)”下的输入消失了。
关于可能导致这种情况的原因有什么想法吗?
提前致谢:)
最佳答案
你的 css 正在用 500px 移动它。将其更改为 5px 并相应地查看或调整
#items{
float: right;
position: relative;
right: 5px;
clear: both;
}
关于html - 文本输入字段对齐,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44396769/