简体   繁体   English

Twitter Bootstrap CSS CSS顶部栏html / css

[英]Twitter Bootstrap css topbar html/css

I have this (using the Twitter bootstrap css sheet): 我有这个(使用Twitter引导CSS表格):

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title></title>
    <meta name="description" content="">
    <meta name="author" content="">
    <link href="bootstrap.min.css" rel="stylesheet">
</head>
<body style='padding-top:40px;'>

<div class='topbar'>
  <div class='fill'> 
      <a class='brand' href='index.php'>BrandTest</a>
  </div>
</div>

</body>
</html>

It's not showing the black bar at the top at the top. 它没有在顶部的顶部显示黑条。

Any ideas? 有任何想法吗?

Some parts of the HTML is missing, it should look like this : http://jsfiddle.net/KajxK/ HTML的某些部分丢失了,看起来应该像这样: http : //jsfiddle.net/KajxK/

<div class="topbar">
  <div class="topbar-inner">
      <div class="container">
          <a class="brand" href="index.php">BrandTest</a>
      </div>
  </div>
</div>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM