Html 如何定位<;部门>;在左边,<;部门>;右边(没有跑出表格)?
如何向上移动按钮:+,Html 如何定位<;部门>;在左边,<;部门>;右边(没有跑出表格)?,html,css,Html,Css,如何向上移动按钮:+, 不确定是否尝试了CSS定位。假设您希望相对于表单元素向上移动按钮 form { position: relative; } .america2 { position: absolute; bottom: 50px; /* positioned 50px relative to bottom of the form */ left: 0; } 不清楚你在问什么;但是当你问客户端问题时,你能不能只发布客户端代码?这里没有人拥有您的数
不确定是否尝试了CSS定位。假设您希望相对于表单元素向上移动按钮
form {
position: relative;
}
.america2 {
position: absolute;
bottom: 50px; /* positioned 50px relative to bottom of the form */
left: 0;
}
不清楚你在问什么;但是当你问客户端问题时,你能不能只发布客户端代码?这里没有人拥有您的数据设置,因此没有人可以运行rails(?)代码来重现您的示例。
form {
position: relative;
}
.america2 {
position: absolute;
bottom: 50px; /* positioned 50px relative to bottom of the form */
left: 0;
}