2013-05-07 88 views
-1

我使用的网格允许我创建子网格并显示一些细节,如linkTwitter Bootstrap网格与详细视图

没关系,它的工作,但现在我需要使用Twitter Bootstrap网格,具有此功能。

有谁知道该怎么做?

+0

您是否试图将引导样式应用到您的网格或尝试将表格实际转换为一组实现Boostrap网格系统的div? – cdlong 2013-05-07 21:28:33

+0

它必须仍然是具有这种功能的网格,但带有自举网格。 – Daniel 2013-05-07 21:31:52

+0

你为什么想要使用twitter bootstrap网格?样式? – cortex 2013-05-07 21:55:18

回答

0

Twitter引导程序网格位于一行内的12列系统上。你可以像这样嵌套网格系统:

<div class="row"> 
    <div class="span5"> 
     The width of this div is 5/12ths of the width of its row. 
    </div> 
    <div class="span7"> 
     <div class="row"> 
      <div class="span6"> 
       This is half of the width of the nested row, 
       which is then 7/12ths of the width of its parent row 
      </div> 
      <div class="span6"> 
      </div> 
     </div> 
    </div> 
</div> 
+0

感谢您的回复,但它对我无用。我需要一种动态的方式,就像问题中的例子一样。 – Daniel 2013-05-07 23:39:48

+0

为什么不用jQuery或其他javascript生成引导程序网格? – jraede 2013-05-08 05:47:11

+0

另外,如果您希望成为答案的一部分,您应该在问题中真正提到“动态”。 – jraede 2013-05-08 17:43:02