How to Use the Grid

[edit] Please Note

These docs are now deprecated, we have a new Support area located here

(Difference between revisions)
m
m
Line 9: Line 9:
 
<h2>The Grid</h2>
 
<h2>The Grid</h2>
 
<br>
 
<br>
In PageLines Framework 2.2, we have added more functionality from bootstrap -- an adaptation of their scaffolding system, <a href="http://twitter.github.com/bootstrap/scaffolding.html#gridSystem">The Grid</a>.  The Grid allows you to build a highly customizeable, reponsive layout with simple syntax.  You can view an example of the Grid in use at <a href="#example">the PageLines 2.2 Demo Site</a>
+
In PageLines Framework 2.2, we have added more functionality from bootstrap -- an adaptation of their scaffolding system, <a href="http://twitter.github.com/bootstrap/scaffolding.html#gridSystem">The Grid</a>.  The Grid allows you to build a highly customizable, responsive layout with simple syntax.  You can view an example of the Grid in use at <a href="#example">the PageLines 2.2 Demo Site</a>
 
</div>
 
</div>
 
</div>
 
</div>
 
<div class="row">
 
<div class="row">
 
<div class="span8"
 
<div class="span8"
<strong>The Syntax</strong>
+
<h2>The Syntax</h2>
<br>
+
<br><br>
 
<pre class="prettyprint linenums">
 
<pre class="prettyprint linenums">
 
&lt;div class="row"&gt;
 
&lt;div class="row"&gt;

Revision as of 00:27, 12 May 2012

The Grid


In PageLines Framework 2.2, we have added more functionality from bootstrap -- an adaptation of their scaffolding system, The Grid. The Grid allows you to build a highly customizable, responsive layout with simple syntax. You can view an example of the Grid in use at the PageLines 2.2 Demo Site
The Syntax

<div class="row">
  <div class="span4">
    <p>...</p>
  </div>
  <div class="span4">
    <p>...</p>
  </div>
  <div class="span4">
    <p>...</p>
  </div>
</div>

This code will produce a 3 column layout the width of your post or page content section (It is responsive to your website's width!)
Place Holder
Placeholder image for ScrollSpy Content sreenshots