Solved

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

Posted on 2013-06-18
1
542 Views
Last Modified: 2013-06-18
How do I make a div with Twitter Bootstrap just like this image?

Twitter Bootstrap Tile
0
Comment
Question by:GenericCog
1 Comment
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now