边框图像,底部没有间距

时间:2015-03-24 18:28:36

标签: html css twitter-bootstrap border-image

我想在底部没有空格,我已经添加了margin-bottom:0px;没有成功,我发现没有边框图像会使空间消失......我该如何解决这个问题呢?

css code: .footer2 {

  text-align: center;
  display:  block;
  clear: both; 

  background-repeat:no-repeat;




/*css border completa*/
  border-style: solid;
  border-width: 32px 37px 40px;
  -moz-border-image: url(../imgs/video_frame.png) 32 37 40 repeat;
  -webkit-border-image: url(../imgs/video_frame.png) 32 37 40 repeat;
  -o-border-image: url(../imgs/video_frame.png) 32 37 40 repeat;
  border-image: url(../imgs/video_frame.png) 32 37 40 fill repeat;

    border-collapse: separate;
    border-spacing: 100px;
    padding: 0px;
    margin-bottom: 0px;


   background-size:cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  /*padding: 1% 1.5%; */
  width: 100%;
  max-height:100%;
  font-family: 'barthowheelregular';}



HTML: <div class="footer2 spacer5">
                    <h1 class="texto_footer">Minimon - Designed by  <a href="http://schismatick.com/" class="texto_footer" target="_blank">Schismatick</a> - Copyright 2015</h1>
                  </div>

1 个答案:

答案 0 :(得分:0)

我希望我能正确理解,如果您希望缩小<h1>元素下面的空格但仍在.footer2 div中,请尝试使用line-height属性。< / p>