如何更改固定到顶部导航到静态顶部没有空间?

时间:2016-08-06 11:32:39

标签: css twitter-bootstrap

我想使用带有标题的静态导航栏。我当前的网站使用固定顶部导航栏,我将类更改为静态但现在我的导航栏上有空格:http://image.prntscr.com/image/f206622fba84476d9c2491f9f041fd4f.png

以下是引导代码:http://www.file-upload.net/download-11827342/startbootstrap-bare-gh-pages_.rar.html

造成这个空间的原因是什么?我该如何解决?

干杯, CabCon

1 个答案:

答案 0 :(得分:1)

删除它:

body 
{
     padding-top: 70px;
}