【发布时间】:2018-04-14 14:52:02
【问题描述】:
【问题讨论】:
-
分享您尝试过的工作代码.. 并查看stackoverflow.com/help/how-to-ask
-
请分享您的尝试。请阅读community guidelines
标签: html css jqxwidgets
【问题讨论】:
标签: html css jqxwidgets
这样尝试,你可以达到你想要的。
.wrapper {
position: relative;
width: 200px;
height: 200px;
background: #ccc;
}
.buttons {
position: absolute;
bottom: 0;
right: 0
}
<div class="wrapper">
<div class="buttons">
<button>submit</button>
<button>reset</button>
</div>
</div>
【讨论】:
<button style="position:absolute; bottom:0; right: -290px;">submit</button>
<button style="position:absolute; bottom:0; right: -215px;">cancel</button>
这似乎解决了我关于定位按钮的问题。谢谢大家的投入
【讨论】:
将两个按钮放在一个 div 中并设置 div id="something"。然后定义#something的css。
#something{
position:fixed;
bottom:0;
right:0;
}
【讨论】: