Create a new HTML document with this code:
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>frinity.blogspot.com</title>
- <link rel="stylesheet" href="blueprint/screen.css" type="text/css" media="screen, projection">
- </head>
- <body>
- <div class="container">
- <h1>Header</h1>
- <hr />
- <div>
- First column here
- </div>
- <div>
- Second column (main content)
- </div>
- <div>
- Third column
- </div>
- <hr />
- <div>Footer</div>
- </div>
- </body>
- </html>
Now its time for adding some 'class' attributes to your HTML elements for creating the columns. Notice that I said the whole layout consists of 24 columns (or 24 width units). For example, you may want the first column to be 6 units wide, the middle column 12 units, and the third and last column to be 6 units. Therefore, the three columns equal to (6 + 12 + 6) = 24 units.
Notice the code in 'class' attributes
- <div class="span-6">
- First column here
- </div>
- <div class="span-12">
- Second column (main content)
- </div>
- <div class="span-6 last">
- Third column
- </div>
Dont forget to add 'last' in the class attribute of your last column. This is important.
Save your HTML file, and open it in a browser. Your layout is ready!













