Create nested column layout

Description

The following code shows how to create nested column layout.

Example


<!--<!--from  ww w . ja va  2 s .c  o  m-->
revised from http://stackoverflow.com/questions/14418998/bootstrap-alignment-issues
-->
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css"
  href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css">
<style type='text/css'>
.b {
  border: 1px solid #ccc;
  padding: 10px;
}
</style>
</head>
<body>
  
  <div class="container-fluid" style="margin-top: 20px;">
    <div class="row-fluid">
      <div class="span9 b">
        <div class="row-fluid">
          <div class="span8 b">Highlighted Comic</div>
          <div class="span4 b">Latest Artwork</div>
        </div>
        <div class="row-fluid">
          <div class="span8 b">Latest</div>
          <div class="span4 b">Hot</div>
        </div>
      </div>
      <div class="span3 b" style="height: 300px;">Search</div>
    </div>
  </div>
</body>
</html>

Click to view the demo





















Home »
  Bootstrap »
    Example »




Accordion
Alert
Auto Complete
Badge
Breadcrum
Button
Carousel
Collapse
Dialog
Dropdown
Form
Icon
Jumbotron
Label
Layout
List
List Group
Media
Navigation Bar
Pager
Page Header
Panel
Paragraph
Pills
Popover
ProgressBar
ScrollSpy
Switch
Tab
Table
Thumnail
Tooltip
Tree
Well