• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 565
  • Last Modified:

Twitter Bootstrap: How To Make A Div Just Like This Image?

How do I make a div with Twitter Bootstrap just like this image?

Twitter Bootstrap Tile
0
GenericCog
Asked:
GenericCog
1 Solution
 
Scott Fell, EE MVEDeveloperCommented:
Your just going to add the box inside one of your div.span's and give it it's own class as you need to.   If you want to keep with the same dimensions, then use div.spans for the size such that if the box is span6, the inside div's need to each be span3.

Bootstrap grid http://twitter.github.io/bootstrap/scaffolding.html#gridSystem

Sample http://jsbin.com/oxopag/1/edit
<!DOCTYPE html>
<html>
<head>
<style>
  .box
 {
  width:300px;
  height:300px;
   background-color:green;
    padding:5px;
  }
.innerbox
  {
   width:140px;
   float:left;}
  </style>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <div class="box">
    <div>icons here</div>
    <div class="innerbox">Left</div>
    <div class="innerbox">right</div>
 </div>
   
</body>
</html>

Open in new window

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now