以表格形式对中输入mailchimp
问题描述:
我在集中输入时出现问题[type =“submit”]。 我在我的网站上也使用bootstrap。 我尝试了很多方法,但似乎没有任何工作。有人可以帮助我吗?以表格形式对中输入mailchimp
.centerButton{
max-width: 700px;
text-align: center;
position: relative;
}
.btnsubmit{
border-radius: 5px;
height: 60px;
color: white;
background-color: #60C3AD;
border: none;
font-family: 'Arial', sans-serif;
font-weight: lighter;
font-size: 16px;
text-align: center;
cursor: pointer;
margin-bottom: 15px;
}
答
请按照下面的链接检查您的中心是否有按钮。
<div id='toolbar'>
<div class='text-center'>
<div class="btn">
<input type="button" class="btn btn-default"/>
</div>
</div>
您可以使用中心'.text区段,center'引导类 - http://getbootstrap.com/css/#type-alignment –
你能使用它来对齐整个div在页面的中心? – KimberlyGS