TwitterのブートストラップでUIレイアウトを作りたかった。私が達成したかったのは、タブ内の検索結果となるサムネイルのリストを持つことでした。しかし、最初の行を除いて、他の行には 3 つの項目しかありません。私はcssが苦手です。ですから、このレイアウトを達成するのを手伝ってください。
<div class="container-fluid">
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-responsive-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Title</a>
<div class="nav-collapse collapse navbar-responsive-collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li class="nav-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li>
</ul>
</li>
</ul>
<form class="navbar-search pull-left" action="#">
<input type="text" class="search-query span5" placeholder="Search">
</form>
<ul class="nav pull-right">
<li><a href="#">Link</a></li>
<li class="divider-vertical"></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</li>
</ul>
</div>
<!-- /.nav-collapse -->
</div>
</div>
<!-- /navbar-inner -->
</div>
<ul class="breadcrumb">
<li><a href="#">Home</a> <span class="divider">/</span></li>
<li><a href="#">Library</a> <span class="divider">/</span></li>
<li class="active">Data</li>
</ul>
<div class="row-fluid">
<div class="span2">
<form class="form">
<!-- Text input-->
<div class="control-group">
<label class="control-label" for="brandName">Brand</label>
<div class="controls">
<input id="brandName" name="brandName" type="text" placeholder="Enter the brand name of the item" class="input-large" data-bind="TypeAhead: { source: brandSuggestions, minLength: 2 }, value: brand">
<p class="inputError" data-bind="validationMessage: brand"></p>
</div>
</div>
<!-- Button Drop Down -->
<div class="control-group">
<label class="control-label" for="itemCategory">Item Category</label>
<div class="controls">
<div>
<select class="combobox" id="itemCategory" data-placeholder="Select an Item Category" data-bind="options: itemCategory, value: selectedItemCategory"></select>
</div>
<p class="inputError" data-bind="validationMessage: itemCategory"></p>
</div>
</div>
<!-- Button Drop Down -->
<div class="control-group">
<label class="control-label" for="itemSubCategory">Item Sub Category</label>
<div class="controls">
<div>
<select class="combobox" id="itemSubCategory" data-placeholder="Select an Item SubCategory" data-bind="options: itemSubCategory, value: selectedItemSubCategory"></select>
</div>
<p class="inputError" data-bind="validationMessage: itemSubCategory"></p>
</div>
</div>
<!-- Range Slider-->
<div class="control-group">
<label class="control-label" for="rating">Rating</label>
<div id="rating"></div>
</div>
<!-- Button Drop Down -->
<div class="control-group">
<label class="control-label" for="itemCondition">Item Condition</label>
<div class="controls">
<div>
<select class="combobox" id="itemCondition" data-placeholder="Select an Item Condition" data-bind="options: itemCondition, value: selectedItemCondition"></select>
</div>
<p class="inputError" data-bind="validationMessage: itemCondition"></p>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox">
Has an Image
</label>
</div>
</div>
<!-- Button Drop Down -->
<div class="control-group">
<label class="control-label" for="soldBy">Sold By</label>
<div class="controls">
<div>
<select class="combobox" id="soldBy" data-placeholder="Select items Sold By" data-bind="options: soldBy, value: selectedSoldBy"></select>
</div>
<p class="inputError" data-bind="validationMessage: soldBy"></p>
</div>
</div>
<input type="button" class="btn" data-bind="click: filter" value="Filter Search" />
</form>
</div>
<div class="span10">
<p>Something about the search.</p>
<div class="tabbable tabs-right">
<ul class="nav nav-tabs">
<li class="active"><a href="#rA" data-toggle="tab">Tab1</a></li>
<li><a href="#rB" data-toggle="tab">Tab2</a></li>
<li><a href="#rC" data-toggle="tab">Tab3</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="rA">
<ul class="thumbnails">
<li class="span3">
<div class="thumbnail">
<img data-src="holder.js/300x200" alt="300x200" style="width: 300px; height: 200px;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAADICAYAAABS39xVAAAI7klEQVR4Xu3bMU8UaxQG4CFEkYIaWmMLHcTEv09BaIydsTYkVNsRQqLem9lkuN9dZ9ldZRbePY8lzsI5z/v5ZnYd9maz2T+dPwQIEAgQ2FNYASkZkQCBuYDCchAIEIgRUFgxURmUAAGF5QwQIBAjoLBiojIoAQIKyxkgQCBGQGHFRGVQAgQUljNAgECMgMKKicqgBAgoLGeAAIEYAYUVE5VBCRBQWM4AAQIxAgorJiqDEiCgsJwBAgRiBBRWTFQGJUBAYTkDBAjECCismKgMSoCAwnIGCBCIEVBYMVEZlAABheUMECAQI6CwYqIyKAECCssZIEAgRkBhxURlUAIEFJYzQIBAjIDCionKoAQIKCxngACBGAGFFROVQQkQUFjOAAECMQIKKyYqgxIgoLCcAQIEYgQUVkxUBiVAQGE5AwQIxAgorJioDEqAgMJyBggQiBFQWDFRGZQAAYXlDBAgECOgsGKiMigBAgrLGSBAIEZAYcVEZVACBBSWM0CAQIyAwoqJyqAECCgsZ4AAgRgBhRUTlUEJEFBYzgABAjECCismKoMSIKCwnAECBGIEFFZMVAYlQEBhOQMECMQIKKyYqAxKgIDCcgYIEIgRUFgxURmUAAGF5QwQIBAjoLBiojIoAQIKyxkgQCBGQGHFRGVQAgQUljNAgECMgMKKicqgBAgoLGeAAIEYAYUVE5VBCRBQWM4AAQIxAgorJiqDEiCgsJwBAgRiBBRWTFQGJUBAYTkDBAjECCismKgMSoCAwnIGCBCIEVBYMVEZlAABheUMECAQI6CwYqIyKAECCssZIEAgRkBhxURlUAIEFJYzQIBAjIDCionKoAQIKCxngACBGAGFFROVQQkQUFjOAAECMQIKKyYqgxIgoLCcAQIEYgQUVkxUBiVAQGE5AwQIx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nail label</h3>
<p><a href="#" class="btn btn-primary">Action</a> <a href="#" class="btn">Action</a></p>
</div>
</div>
</li>
</ul>
</div>
<div class="tab-pane" id="rB">
<div data-bind="compose: 'viewmodels/checkInList'"></div>
</div>
<div class="tab-pane" id="rC">
<div data-bind="compose: 'viewmodels/buyList'"></div>
</div>
</div>
</div>
</div>
</div>
</div>
添付はスクリーンショットです