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

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

Left Column

Main Content Section

This simple layout [Demo 7A] 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>
<html>
<head>
<title>Page Layout</title>
<style type="text/css">
</style>
</head>
<body>
<div id="wrapper">
<div id="banner"><h1>Banner Area</h1></div>
<nav>Navigation</nav>
<div id="lftcol"><h2>Left Column</h2></div>
<div id="mainSection"><h2>Main Content Section</h2></div>
<footer><h3>Footer</h3></footer>
</div>
</body>
</html>