gpt4 book ai didi

html - 页面底部的空白/栏

转载 作者:可可西里 更新时间:2023-11-01 13:33:24 28 4
gpt4 key购买 nike

我注意到我的网页在页脚之后和页面底部有一个空白/栏:

enter image description here

我试图通过使用 Chrome 中的 inspect 元素来查找此问题的原因,但找不到任何内容。我正在使用 Boostrap,这是我的页脚 HTML/CSS:

 <div class="container">
<hr>
</div> <!--end container-->
<div id="footer">
<footer class="container">
<div class="row">
<div class="col-md-3" id="mail"> <a href="mailto:info@8delfiini.ee" title="Kirjuta mulle!"><img src="images/mail.png" alt="e-kiri" title="Kirjuta mulle!"/></a>
<p><a href="mailto:info@8delfiini.ee">info@8delfiini.ee</a></p>
</div>
<div class="col-md-3" id="tel"> <a href="tel:+3725299131" title="Helista mulle!"><img src="images/phone.png" alt="telefon" title="Helista mulle!"/></a>
<p><a href="tel:+3725299131">(+372) 52 99 131</a></p>
</div>
<div class="col-md-3" id="addr"> <a href="https://goo.gl/maps/ny3wV" title="Asukoht" target="_blank"><img src="images/location.png" alt="asukoht" title="Asukoht"/></a> <a href="https://goo.gl/maps/ny3wV" title="Asukoht" target="_blank">
<p>Jansuki Shop<br />
Müürivahe 17<br />
Tallinn </p>
</a> </div>
<div class="col-md-3" id="fb"> <a href="https://www.facebook.com/8Delfiini" title="Facebook" target="_blank"><img src="images/fb.png" alt="Facebook" title="Facebook"/></a> <a href="https://www.facebook.com/8Delfiini" title="Facebook" target="_blank">
<p>8 Delfiini Facebookis</p>
</a> </div>
</div>
<!--end row-->
</footer>
</div>
<!--end footer-->

以及整个联系页面的 CSS:

 /*kontakt*/

#kontakt
{
background: url(../images/IMG_1340.jpg) no-repeat fixed;
width: 100%;
margin-bottom: 0;
}

h2.cont-heading
{
background: url(../images/kontakt.png) no-repeat 0 155px;
background-size: 48.5px 53px;
padding: 160px 0 5px 60px;
color: rgb(255,255,255);
text-transform: uppercase;
}

h1.invitation
{
font-family: 'latoregular', sans-serif;
color: rgb(255,255,255);
font-size: 7em;
}

#logo
{
width: 28px;
height: 40px;
margin-top: 10px;
}

#part3, #part4
{
padding: 40px 40px 40px 0;
}

#part4
{
padding: 30px;
color: rgb(255,255,255);
}

hr
{
border: 0;
height: 1px;
margin: 0;
background-image: -webkit-linear-gradient(left, rgba(255,255,255,0.4), rgba(255,255,255,0.75), rgba(255,255,255,0.4));
background-image: -moz-linear-gradient(left, rgba(255,255,255,0.4), rgba(255,255,255,0.75), rgba(255,255,255,0.4));
background-image: -ms-linear-gradient(left, rgba(255,255,255,0.4), rgba(255,255,255,0.75), rgba(255,255,255,0.4));
background-image: -o-linear-gradient(left, rgba(255,255,255,0.4), rgba(255,255,255,0.75), rgba(255,255,255,0.4));
}

/*footer styles*/

#footer
{
padding: 40px;
color: rgb(255,255,255);
text-align: center;
}

#footer a
{
color: rgb(255,255,255);
font-size: 1.3em;
}

#mail img, #tel img, #addr img, #fb img
{
height: 60px;
width: 60px;
display: block;
margin: 0 auto;
}

#mail a, #tel a, #addr a, #fb a
{
padding: 50px;
font-family: 'latoregular', sans-serif;
}

我是 Bootstrap 的新手。它的 CSS 中是否有一些特殊的东西导致了这个?感谢您的帮助。 :)

最佳答案

您可以通过为#footer .row 设置一个padding 来修复它:

#footer .container .row {
padding-bottom:8px;
}

漂亮的布局 btw :)

关于html - 页面底部的空白/栏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23788864/

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