尽管添加了容器流体,但我的页脚并没有完全展开。
请参阅:
http://185.123.96.102/~kidsdrum/moneynest.co.uk
HTML
<footer class="container-fluid">
<div class="row">
<div class="col-sm-7 footercta">
<h4 class="bottomoffer">Sign up to access your free Jumpstart your Finances email course</h4>
<!-- Begin MailChimp Signup Form -->
<div id="mc_embed_signup2">
<form action="//moneynest.us11.list-manage.com/subscribe/post?u=9ccf2d2219536b32eaae3c3d1&id=299de51b4e" method="post" class="validate" target="_blank" novalidate>
<div>
<img src="http://185.123.96.102/~kidsdrum/moneynest.co.uk/img/hand-drawn-arrow.png" class="handarrow hidden-xs hidden-sm" alt="arrow"><input type="email" value="" name="EMAIL" class="email" placeholder="Enter your email address" required>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_9ccf2d2219536b32eaae3c3d1_299de51b4e" tabindex="-1" value=""></div>
<input type="submit" value="Start Class Now" name="subscribe" class="text-uppercase btn btn-primary btn-lg btn-bottom"></div>
</form>
</div>
<!--End mc_embed_signup-->
</div>
<div class="col-sm-5 footerlinks">
<br>
<ul class="mylist">
<li>Home</li>
<li>Blog</li>
<li>About</li>
<li>Contact</li>
</ul>
<ul class="mylist2">
<li>Facebook</li>
<li>Twitter</li>
</ul>
</div>
</div>
<br>
<br>
<div class="finalfooterlinks"><p>
Privacy Policy | Terms of Service</p>
<p>© Copyright 2015 -
<script type="text/javascript">
now = new Date
theYear=now.getYear()
if (theYear < 1900)
theYear=theYear+1900
document.write(theYear)
</script></div>
<br>
</footer>
似乎无法弄明白,代码验证100%所以我确定它不是开放的<div>
。
答案 0 :(得分:0)
padding-left: 9.6%
上有.col-sm-7
。如果你失去了它,它会拉伸全宽。嗯......左边走到边缘,你必须做一些别的事情来让右侧展开。我建议您查看flexbox https://css-tricks.com/snippets/css/a-guide-to-flexbox/