2017-04-01 84 views
0

在我的网站上,右边有不需要的白边,我不知道为什么。我网站上的所有容器都包含流体,并且我还添加到了我的CSS中,没有填充,容器没有边距。Css不需要的右边距,粘脚未固定

html, 
page { 
    width: 100%!important; 
    margin:0; 
    font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif; 
    padding-right:0px; 
    padding-left:0px; 
    color:#333; 


} 
container, container-fluid { 
width:100%0!important; 
padding:0!important; 
margin:0!important; 
} 

我想放在页脚在现场的时候,我试图与位置:绝对和边距,还试图隐藏溢出,但它并没有为我工作。

<div class="navbar navbar-inverse navbottom"> 



    .navbottom { 

background: url(../img/footer.jpg) no-repeat center center scroll; 
    -webkit-background-size: cover; 
    -moz-background-size: cover; 
    background-size: cover; 
    -o-background-size: cover; 
    background-color:#679003; 



-moz-border-radius:0px; 
border-radius: 0px; 
border-style: none; 
position: relative; 
    margin-top: -50px; /* negative value of footer height */ 
    height: 50px; 
    clear:both; 
    padding-top:20px; 
overflow:hidden; 
margin-bottom:0!important; 

全HTML和CSS https://jsbin.com/biwuyewipi/edit?html,css,output

网站: http://fotozorza.pl/

回答

0

Firefox的检查员告诉我,这是你的顶部导航栏。我对Wordpress并不熟悉,很抱歉,我无法为您提供更多帮助。

另外督察说,其余的罚款。

0

这是因为谷歌地图宽度改为98vw。

编辑: 添加下面的代码片断到CSS

.row{ margin-right:0px; margin-left:0px; } 

并降低谷歌地图i_frame的宽度。这是问题的原因。