?
Solved

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

Posted on 2013-06-18
1
Medium Priority
?
555 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 53

Accepted Solution

by:
Scott Fell,  EE MVE earned 2000 total points
ID: 39257124
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

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses
Course of the Month9 days, 2 hours left to enroll

764 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