<< .. Go to : : Home : : Exercise 8 : : Demo 8A : : Demo 8B : : Demo 8C : : Demo 8D : : Demo 8E : : Demo 8F : : All Class Demos .. >>

Exercise 8 Demo: Part B : Simple CSS Page Layout - Add CSS Styles

Left Column

Main Content Section

This simple layout [Demo 8A] started with this basic html coding and then added CSS style to have the pieces fall into place. Figure out your design first (do a sketch), do the basic coding and then add your styles.

<!DOCTYPE html>
<title>Page Layout</title>
<style type="text/css">
<div id="wrapper">
<div id="banner"><h1>Banner Area</h1></div>
<div id="nav">Navigation</div>
<div id="lftcol"><h2>Left Column</h2></div>
<div id="mainSection"><h2>Main Content Section</h2></div>
<div id="footer"><h3>Footer</h3></div>