Bootstrap Tutorial - Create row with span2 and span10








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

Example

<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.background {<!--from   www. j  a v  a2 s.  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