網站:http://speelgoedwinkelxl.nl/Aliging中間一個div不起作用
我不能讓底部DIV在中心
對準它的一部分巫婆說MELD濟AAN VOOR的Onze nieuwsbrief
我試圖使用margin:0 auto;和text-align:center;但兩者都不起作用。
該代碼是從Magento模板,但我找不到爲什麼我不能讓它居中。
<div class="ma-footer-static-container-bottom1">
<div class="ma-footer-static">
<div class="row-fluid show-grid">
<div class="social span4">
<div><div class="footer-subscribe">
<div class="block-title">
<strong><span>Meld je aan voor onze nieuwsbrief</span></strong>
</div>
<form action="http://speelgoedwinkelxl.nl/newsletter/subscriber/new/" method="post" id="newsletter-validate-detail">
<div class="newsletter-content">
<div class="form-subscribe-header">
<!--<label for="newsletter"></label>-->
</div>
<div class="input-box">
<input type="text" name="email" id="newsletter" title="Meld je aan voor onze nieuwsbrief" class="input-text required-entry validate-email">
</div>
<div class="actions">
<button type="submit" title="Inschrijven" class="button"><span><span></span></span></button>
</div>
</div>
</form>
<script type="text/javascript">
//<![CDATA[
var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
//]]>
</script>
</div>
</div>
</div> </div>
</div>
</div>
嘗試這一點,在custom.css 92行set width:1121px;並在custom.css第94行設置margin-left:275px; –