I am using a premium Wordpress theme based on Twitter Bootstrap. The theme is called StrapPress. I'm just going with the grid and trying to set things up in a very simple way, but the grid is acting in a weird way. What I want is a section of main content consisting of nine columns and a sidebar of three. In nine columns, I want to have nested columns with different areas of content: on one page, the first section will consist of nine columns, and then the content below it will be divided into three equal sections.
The following code installs it perfectly without the first section in 9 columns:
<div class="row-fluid"> <div class="span9 redBorder" id="content"> <div class="span4 redBorder"> <div class = "contentPlaceholder"> BLOG </div> </div> <div class="span4 redBorder"> <div class = "contentPlaceholder"> RECIPE </div> </div> <div class="span4 redBorder"> <div class = "contentPlaceholder"> LISTING </div> </div> </div> <div class="span3 redBorder" id="sidebar" style="height: 450px;"> SIDE </div> </div>
"RedBorder" simply adds a 1 pixel red frame around everything to render. 
However, as soon as I add the next section, it affects the content below. Here is the new code:
<div class="row-fluid"> <div class="span9 redBorder" id="content"> <div class="searchSection redBorder" style="height: 100px;"> SEARCH SECTION </div> <div class="span4 redBorder"> <div class = "contentPlaceholder"> BLOG </div> </div> <div class="span4 redBorder"> <div class = "contentPlaceholder"> RECIPE </div> </div> <div class="span4 redBorder"> <div class = "contentPlaceholder"> LISTING </div> </div> </div> <div class="span3 redBorder" id="sidebar" style="height: 450px;"> SIDE </div> </div>
Here's what it looks like: 
Does anyone know why he is doing this? Why does adding some content at the beginning of these nine columns cause these columns below to add gaskets to them so that they no longer fit into their container?
source share