Create row with span2 and span10

Description

The following code shows how to create row with span2 and span10.

Example


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.background {<!--  w  ww . j  av a 2s .c o  m-->
  background-color: #EEE;
}

.background2 {
  background-color: #EED;
}
</style>
<link
  href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/css/bootstrap-combined.min.css"
  rel="stylesheet">
</head>
<body>
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span2 background">SIDEBAR</div>
      <div class="span10 background2">Main</div>
    </div>
  </div>
</body>
</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