gpt4 book ai didi

html - 尽管类为 ="container-fluid",但页脚未显示全宽

转载 作者:行者123 更新时间:2023-11-28 06:15:55 25 4
gpt4 key购买 nike

尽管添加了 container-fluid 类,但我的页脚并没有完全变宽。

请看:

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&amp;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>&copy; 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> .

最佳答案

.col-sm-7 上有一个 padding-left: 9.6%。如果你失去了它,它会拉伸(stretch)整个宽度。好吧……左边走到边缘,你必须做些别的事情才能让右边展开。我可以建议检查一下 flexbox https://css-tricks.com/snippets/css/a-guide-to-flexbox/

关于html - 尽管类为 ="container-fluid",但页脚未显示全宽,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35895303/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com