Created
July 12, 2010 19:29
-
-
Save lancejpollard/472948 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <body> | |
| <section class="top" role="definition"> | |
| <div class="header"> | |
| <div class="frame"> | |
| <header></header> | |
| <nav></nav> | |
| </div> | |
| </div> | |
| </section> | |
| <section class="main" role="main"> | |
| <div class="title"> | |
| <div class="frame"> | |
| <header> | |
| <h1></h1> | |
| </header> | |
| </div> | |
| </div> | |
| <div class="body"> | |
| <div class="frame"> | |
| <article> | |
| <time></time> | |
| <p>Content...</p> | |
| <cite>Author</cite> | |
| <dialog>Comments...</dialog> | |
| </article> | |
| <aside>Sidebar</aside> | |
| </div> | |
| </div> | |
| </section> | |
| <section class="bottom" role="contentinfo"> | |
| <div class="footer"> | |
| <div class="frame"> | |
| <aside>Widgets</aside> | |
| <footer></footer> | |
| </div> | |
| </div> | |
| </section> | |
| </body> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vertically, the page is divided into
sectionblocks. Thesectionhas a div as children, with a class describing its function (title, footer, body, etc.). Each of thosedivs has one child,<div class="frame">. That 3-layer construct allows us to style the vertical section with colors/graphics that fill 100% width, and theframecenters our content in say a 960px width grid.Then everything inside of the
frameis the content of the page. Each can have aheader, afooter, and any other tags in between.