Appendix B. Workshop, CSS Layout

Table of Contents

Initial Documents

Take a loot at this document:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <meta http-equiv="Content-Type" 
      content="text/html; charset=utf-8" />
    <title>Wireframe, Liquid Layout</title>
    <link rel="stylesheet" type="text/css" href="./workshop.css" />
  </head>
  <body>
    <div id="wrapper">
      <div id="div1">1</div>
      <div id="div2">2</div>
      <div id="div3">3</div>
      <div id="div4">4</div>
    </div>
  </body>
</html>

Here is the referenced stylesheet:

#div1 {
	border: 1px solid green;
	height: 50px;
}
#div2 {
	border: 1px solid blue;
	height: 50px;
}
#div3 {
	border: 1px solid red;
	height: 50px;
}
#div4 {
	border: 1px solid #666666;
	height: 50px;
}

Copy both documents. Place them in an appropriate folder, and name them workshop.html, and workshop.css respectively.

Here is a teacher's link to the page

And here is a teacher's link to the finished page