小编Sni*_*itz的帖子

Bootstrap 3,导航栏上方顶部有空白区域

我刚下载了Bootstrap 3 Dist,它只包含css/js/fonts.

我创建了index.html并粘贴了OffCanvas示例,到目前为止一切正常.然后我用固定顶部导航栏更改了包含的导航栏,但现在我在导航栏上方看到一个200px空白顶部空间,我无法使用FireBug查明.

截图

这是我的HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="favicon.png">

<title>Off Canvas Template for Bootstrap</title>

<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">

<!-- Custom styles for this template -->
<link href="css/offcanvas.css" rel="stylesheet">

<!-- Just for debugging purposes. Don't actually copy this line! -->
<!--[if lt IE 9]><script src="js/ie8-responsive-file-warning.js"></script><![endif]-->

<!-- HTML5 shim and Respond.js IE8 support …
Run Code Online (Sandbox Code Playgroud)

html html5 twitter-bootstrap-3

4
推荐指数
1
解决办法
4804
查看次数

标签 统计

html ×1

html5 ×1

twitter-bootstrap-3 ×1