2014-03-13 28 views
0

我有以下HTML:引導是1/2在我的MVC應用程序的工作

<!DOCTYPE html> 
<html> 
    <head> 
     @Styles.Render("~/Content/bootstrapui") 
    </head> 
    <body> 
     <div class="container"> 
      <div class="well">A well</div> 
      <div class="row"> 
       <div class="span4"> 
        <h2>Column one</h2> 
       </div> 
       <div class="span4"> 
        <h2>Column two</h2> 
       </div> 
       <div class="span4"> 
        <h2>Column three</h2> 
       </div> 
      </div> 
     </div> 
    </body> 
</html> 

,我的包看起來像這樣:

bundles.Add(new StyleBundle("~/Content/bootstrapui") 
    .Include("~/Content/bootstrap/bootstrap.css") 
    .Include("~/Content/bootstrap/bootstrap-theme.css")); 

而這正是我的顯示是這樣的:

enter image description here

我在做什麼錯?

+0

您使用的引導版本2或3? – mxmissile

+0

版本3,這顯然是問題所在。 – Scottie

回答

相關問題