I have a problem with twitter bootstrap, here is what my navigator looks like: 
There is a gap between the top of the page and the navigation bar. I tried to use
.navbar {position: fixed! important; top: 0px; padding: 0px; margin: 0px; }
in my css file, but it still doesn't work. This is similar to mobile and desktop (with responsive css). I tried to put my css sites after responsive css before, but it does nothing. Does anyone know why this is so?
Navigation data from bootstrap.css:
.navbar-fixed-top, .navbar-fixed-bottom { position: fixed; right: 0; left: 0; z-index: 1030; margin-bottom: 0; } .navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner { padding-right: 0; padding-left: 0; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; } .navbar-fixed-top .container, .navbar-fixed-bottom .container { width: 940px; } .navbar-fixed-top { top: 0; } .navbar-fixed-bottom { bottom: 0; } .navbar .nav { position: relative; left: 0; display: block; float: left; margin: 0 10px 0 0; }
source share