2013-05-07 86 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