我有以下的減少測試用例:編輯佈局以在元素之間使用垂直規則。
在我設計的形象,這就是我要爲: http://i.imgur.com/BzsW6YJ.jpg
在頁腳,你可以看到,我在電子郵件交易&目錄部分之間添加水平線。但是,我不知道如何通過代碼來完成。
我的HTML如下。在JSFiddle中,我使用了大量的外部CSS和JS。
<section id="newslettersignup">
<div class="container White_BG">
<div class="pull-left newsletter">
<h2>E-mail Deals</h2>
Sign up to receive Sales & exclusive news!<br>
We will not sell or rent your email address. <a href=" //rsatestamle.dminsite.com/privacy-policy/a/3/" style="text-decoration:underline;color:#F25C27;">Privacy Policy</a>.<br><br>
<form class="form-horizontal" method="post" action="http://www.gliq.com/cgi-bin/subunsub">
<div class="input-prepend">
<input type="hidden" name="acctname" value="amleo">
<input type="hidden" name="action" value="subscribe">
<input type="hidden" name="url" value=" //rsatestamle.dminsite.com/subscribe-successful/a/47/">
<input type="text" placeholder="Your email address" id="inputIcon" class="input-xlarge" name="email">
<input value="SUBSCRIBE" class="btn btn-orange" type="submit">
</div>
</form>
</div>
<div id="Catalog" class="pull-right catrr">
<div class="catalog">
<h2>Catalogs</h2>
<a href=" //rsatestamle.dminsite.com/catalogs.aspx" title="Catalogs" style="text-decoration:underline;"><font color="#F25C27">View our online catalog</font></a>, or <br><br><a class="various" data-fancybox-type="iframe" href="catalogrequestpopup.aspx?catalog_id=0001&name=2014 Catalog Request" title="Request a Catalog" style="text-decoration:underline;">
<font color="#F25C27">request a free catalog now!</font></a><br>
</div>
</div>
</div>
</section>