COURSE CALENDAR | WEEK 11 CLASS OUTLINE | Homework
Topics Covered in Class:
- Projects page continued...
- Another way of setting up a larger portfolio: http://www.glance.ca/
- Understanding the path structure when creating sub-navigation
- Last week we created a separate projects folder to hold the various project sections.
- Your links from the sub-navigation list on the projects.html page to a section page should look like this:
- Links from a section page back to the project.html or any main navigation link should look like this:
- Links from a section page to another section page should look like this:
- Creating thumbnails on the Projects sub-section pages: sample
- How to Float your Thumbnails
- Here is what the CSS looks like:
div.float {
float: left;
background-color: #999999;
margin: 4px;
padding: 5px;
width: 95px;
text-align: center;
}div.float p {
text-align: center;
line-height: normal;
background-color: #FFFFFF;
margin: 3px 5px 0px;
padding: 2px;
}
div.spacer {
clear: both;
height: 1px;
} - And the HTML:
<div class="float">
<img src="image1.gif">
<p>caption 1</p>
</div><div class="float">
<img src="image2.gif">
<p>caption 2</p>
</div><div class="float">
<img src="image3.gif">
<p>caption 3</p>
</div><div class="spacer"> </div>
- Creating the portfolio pages: sample
- HTML code:
<div class="container">
<img src="images/tomatos.jpg" width="300" height="225" alt="photo tomato" />
<p>Image description</p>
<ul id="navigation">
<li class="left"><a href="#">Back</a></li>
<li class="right"><a href="#">Next</a></li>
</ul><div class="spacer"> </div>
</div>
- CSS for the container class:
.container {
text-align: center;
padding: 0px 10px;
border: 1px dashed #999999;
}
- HTML code:
- Set up your linear navigation (back and next) with this tutorial.
- CSS CODE for linear navigation:
ul#navigation {
list-style-type: none;
margin: 0;
padding: .5em 0;
border-top: 1px solid #666;
}ul#navigation li a {
display: block;
width: 5em;
color: #FFF;
background-color: #036;
padding: .2em 0;
text-align: center;
text-decoration: none;
}ul#navigation li a:hover {
color: #FFF;
background-color: #69C;
}ul#navigation.left { float: left; }
ul#navigation.right { float: right; }
- More on Horizontal Lists here.
- CSS CODE for linear navigation:
<a href="projects/photo.html">Photography</a>
<a href="../projects.html">Projects</a>
<a href="design.html">Graphic Design</a>
Finish the tutorials covered in class and add the skills learned to all of your projects sections. Complete each of the three sections in your projects (ex: drawing, graphic design, photo). Each section should include the following:
- Projects sample
- Sub-section sample
- Detail pages sample
We will be creating a form for the contact page next week, so please make sure your projects area is complete.