0

我想在底部没有空间,我已经添加了 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>
4

1 回答 1

0

我希望我理解正确,如果您希望减少<h1>元素下方但仍在.footer2div 内的空间,请尝试使用该line-height属性。

于 2015-03-24T18:46:19.197 回答