/*Save your template as a PHP file to wp-content/themes/mystytle/index.php. Note that you have to make the mystyle folder. Note also that you should use an inline style sheet, but you must also have an external style sheet saved to the same folder. */

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<meta http-equiv="Cache-Control" content="must-revalidate"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>English 304: Writing for the Web</title>
<style type="text/css">
<!--
body {
font: small Verdana, Arial, Helvetica, sans-serif;
background-image: url(http://www.maryadams.net/classpages/304/graphics/304bg.gif);
background-repeat: repeat-y;
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
}
.twoColLiqLtHdr #container {

width: 80%; /* this will create a container 80% of the browser width */
max-width: 70em;

margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border-width: thin thick;
border-style: solid;
border-color: #996;
text-align: left; /* this overrides the text-align: center on the body element. */
}
.twoColLiqLtHdr #header {

height: 100px;
width: 725px;
padding: 0 0;
background-image: url(http://www.maryadams.net/classpages/304/graphics/304logo1.gif);
background-repeat: no-repeat;

/* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
}
.twoColLiqLtHdr #header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

/* Tips for sidebar1:
1. since we are working in percentages, it's best not to use padding on the sidebar. It will be added to the width for standards compliant browsers creating an unknown actual width.
2. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".twoColLiqLtHdr #sidebar1 p" rule.
3. Since Explorer calculates widths after the parent element is rendered, you may occasionally run into unexplained bugs with percentage-based columns. If you need more predictable results, you may choose to change to pixel sized columns.
*/
.twoColLiqLtHdr #sidebar1 {
min-height: 100%;
background-image: url(http://www.maryadams.net/classpages/304/graphics/304bg.gif);
float: left;
width: 24%; /* since this element is floated, a width must be given */
)/* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 0; /* top and bottom padding create visual space within this div */
}
.twoColLiqLtHdr #sidebar1 h3, .twoColLiqLtHdr #sidebar1 p {
margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
margin-right: 10px;
}

/* Tips for mainContent:
1. the space between the mainContent and sidebar1 is created with the left margin on the mainContent div. No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
2. to avoid float drop at a supported minimum 800 x 600 resolution, elements within the mainContent div should be 430px or smaller (this includes images).
3. in the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs.
*/
.twoColLiqLtHdr #mainContent {
margin: 0 20px 0 24%; /* the right margin can be given in percentages or pixels. It creates the space down the right side of the page. */
padding: 0 20px;
background-image: url(../classpages/304/graphics/title_bg.png);
background-repeat: repeat-x;
}

.twoColLiqLtHdr #mainContent h1 {

margin: 0 0;
padding: 1em 0 1em 0;
}

.twoColLiqLtHdr #footer {
padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */

}
.twoColLiqLtHdr #footer p {
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

#topmenu {
background: #360;
clear: both;
margin: 0 0;
padding: 4px;
}

#breadcrumbs {
background: #CC6;
filter: alpha(opacity=75);
clear: both;
margin: 0 0;
padding: 4px;
}

div #schedule {
width: 600;
background-image: url(http://www.maryadams.net/classpages/304/graphics/title_bg.gif);
background-repeat: repeat;
border-color: #969;

}

/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
float: left;
margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
-->

p #form {
z-index: 99;
margin-top: 0;
margin-right: 0;
}

h1 {
background-image: url(http://www.maryadams.net/classpages/304/graphics/title_bg.png);
background-repeat: repeat-both;
padding: 1em;
margin: 0 0;
}

h3 {font-family: Verdana, Arial, Helvetica, sans-serif;
color: #930;

}

h4 {font-family: Verdana, Arial, Helvetica, sans-serif;
color: #666633;
margin-top: 3em;

}

li{
line-height: 14pt;
}

th {

font-family: Verdana, Arial, Helvetica, sans-serif;
color: black;
font-size: 10pt;
}

p {
text-decoration: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: black;
font-size: 10pt;
line-height: 14pt;
}

p #form {
margin-top: 0;
}

a {text-decoration: underline;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #930;
}

a:hover {text-decoration: underline;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #336633;
background: #999966;
}

a.menu {text-decoration: none;
color: black;
font-weight: bold;
font-size: medium;
font-family: Verdana, Arial, Helvetica, sans-serif;
}

a.menu:hover {text-decoration: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: medium;
color: #6633FF;
background: #999966;
}

a.topmenu {
text-decoration: none;
color: #FFC;
font-size: small;
}

 

.tiny {
text-decoration: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: black;
font-size: xx-small;
}

.blinkytext {

text-decoration: blink;

}

</style>
</head>

<body class="twoColLiqLtHdr">

<div id="container">
<div id="header"> <script type="text/javascript">

// Google Internal Site Search script- By JavaScriptKit.com (http://www.javascriptkit.com)
// For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/
// This notice must stay intact for use

//Enter domain of site to search.
var domainroot="www.maryadams.net"

function Gsitesearch(curobj){
curobj.q.value="site:"+domainroot+" "+curobj.qfront.value
}

</script>

<form action="http://www.google.com/search" method="get" onSubmit="Gsitesearch(this)">

<p id="form" align="right">
<input name="q" type="hidden" />
<input name="qfront" type="text" style="width: 180px" /> <input type="submit" value="Search" /></p>

</form>
<!-- end #header --></div>

<div id="topmenu" align="center"><a class="topmenu" href="http://english.wcu.edu" target="_blank">english home</a>
| <a class="topmenu" href="http://www.wcu.edu/404.asp" target="_blank">library</a> | <a class="topmenu" href="https://wcu.blackboard.com/" target="_blank">blackboard </a> |
<a class="topmenu" href="http://maryadams.net/classpages/304/blog/about-this-blog/">about this blog</a> | <a class="topmenu" href="http://maryadams.site40.net/wp-login.php">login</a></div>
<div id="breadcrumbs" align="left">
<SCRIPT LANGUAGE="JavaScript">
<!--

//Bread crumb script - Kevin Lynn Brown
//Duplicate directory names bug fix by JavaScriptKit.com
//Visit JavaScript Kit (http://javascriptkit.com) for script

var path = "";
var href = document.location.href;
var s = href.split("/");
for (var i=2;i<(s.length-1);i++) {
path+="<A HREF=\""+href.substring(0,href.indexOf("/"+s[i])+s[i].length+1)+"/\">"+s[i]+"</A> / ";
}
i=s.length-1;
path+="<A HREF=\""+href.substring(0,href.indexOf(s[i])+s[i].length)+"\">"+s[i]+"</A>";
var url = window.location.protocol + "//" + path;
document.writeln(url);
//-->
</script>

</div>
<div id="sidebar1">
<p><a class="menu" href="/classpages/304/index.html">Home</a></h3>
<p><a class="menu" href="/classpages/304/pages/schedule.html">Schedule</a></p>
<p><a class="menu" href="/classpages/304/pages/things_you_need.html">Things you'll need</a></p>
<p><a class="menu" href="/classpages/304/lessons/index.html">Assignments</a></p>
<p><a class="menu" href="/classpages/304/quiz_guides/index.html">Quiz guides</a></p>
<p><a class="menu" href="http://www.prowritewcu.com/304/spring2012/" target="_blank">Student sites</a></p>
<p><a class="menu" href="http://www.maryadams.net/classpages/">All my classes</a></p>
<p><a class="menu" href="http://maryadams.net/classpages/304/blog/" target="_blank">Blog</a></p>
<!-- end #sidebar1 --></div>
<div id="mainContent">
<h1>Topics in web design</h1>
<?php
/**
* @package WordPress
* @subpackage Classic_Theme
*
* get_header();
*/
?>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

 

<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h3 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>

<div class="storycontent">
<?php the_content(__('(more...)')); ?>
</div>

 

</div>

 

<?php endwhile; else: ?>

<?php endif; ?>
<p>&nbsp;</p>
<!-- end #mainContent --></div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
<div id="footer">
<div class=tiny align="center"><a href="mailto:[email protected]">Dr.
Mary Adams, instructor</a><br>
last updated
<!-- #BeginDate format:En1 -->12-apr-12<!-- #EndDate -->
</div></div>
<!-- end #container --></div>
</body>
</html>