0
<! DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<link rel="stylesheet" href="main.css">
</head>
<body>
<div class="nav">
<div class="container">
<ul class="pull-left">
<li>ONE</li>
<li>TWO</li>
</ul>
<ul class="pull-right">
<li>LOG IN</li>
<li>HELP</li>
</ul>
</div> <!--End nav container-->
</div> <!--End nav-->
</body>
</html>
截至目前,该列表正以HTML显示列表的默认方式显示。第二个链接到main.css只是一个空白文件,我没有做任何事情。这些文件的结构如下这样:为什么Bootstrap CSS不加载?
文件/网络
无论是在我的网页文件夹中有。
你需要改变'HREF =“HTTP://宁波开发区...' –
HTTP不是在href属性要求。看到这篇文章:http://stackoverflow.com/questions/11036551/absolute-full-urls-without-http-in-html-href – Woodchipper