将 Gravity Forms 的提交按钮放在表单下方的中心
Placing the submit button of Gravity Forms in center under form
我正在尝试将 Gravity Forms 中的提交按钮放在我当前表单下方的中心位置。
示例:
我的 Gravity Form 上有一个 two-column
布局。该按钮当前浮动在右栏下方。
有什么想法吗?
试试这个:http://jsfiddle.net/7Laf8/
你基本上把你的按钮放在 div:
<div class="wrapper">
<button class="button">Button</button>
</div>
With the following styles:
.wrapper {
text-align: center;
}
.button {
position: absolute;
top: 50%;
我正在尝试将 Gravity Forms 中的提交按钮放在我当前表单下方的中心位置。
示例:
我的 Gravity Form 上有一个 two-column
布局。该按钮当前浮动在右栏下方。
有什么想法吗?
试试这个:http://jsfiddle.net/7Laf8/
你基本上把你的按钮放在 div:
<div class="wrapper">
<button class="button">Button</button>
</div>
With the following styles:
.wrapper {
text-align: center;
}
.button {
position: absolute;
top: 50%;