@charset "utf-8";
/* html { margin: 0px; padding: 0px; } */
body {
background: #aaaaaa;
margin: 0; /* 14 it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
margin-bottom: 4em;
/* font-family: "Comic Sans MS", cursive; */
font-family: Helvetica, sans-serif;
/* padding-left: 4em; */
}
/* Tips for Elastic layouts
1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
*/
.twoColElsLtHdr #container {
width: 64em; /* the auto margins (in conjunction with a width) center the page */
border: 1px solid #000000;
background-color: #F8F8F8;
margin-left: auto;
margin-right: auto;
height: auto;
}
.twoColElsLtHdr #header {
padding: 0 10px; /* 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. */
background-color: #EEF;
/* font-family: "Comic Sans MS", cursive; */
font-family: Helvetica, sans-serif;
color: #FFC;
font-size: small;
height: 8em;
}
.twoColElsLtHdr #header h1 {
margin: 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
color: #006;
font-size: 28px;
/* font-family: "Comic Sans MS", cursive; */
font-family: Helvetica, sans-serif;
font-style: normal;
font-weight: 800;
font-variant: normal;
padding-top: 10px;
padding-bottom: 10px;
vertical-align: text-top;
top: auto;
bottom: auto;
}
/* Tips for sidebar1:
1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width.
3. 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 ".twoColElsLtHdr #sidebar1 p" rule.
*/
.twoColElsLtHdr #sidebar1 {
float: left;
width: 10em; /* width of the grey band around the menu */
padding: 64; /* top and bottom padding create visual space within this div */
background-color: #EEF;
margin: 0px;
position: fixed;
}
/* Tips for mainContent:
1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
2. 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.
3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
*/
.twoColElsLtHdr #mainContent {
background-color: #F8F8F8;
font-size: 14px;
width: 56em;
margin-left: 14em;
/* font-family: "Comic Sans MS", cursive; */
font-family: Helvetica, sans-serif;
color: #000;
border-top-width: 20px;
border-right-width: 4px;
border-bottom-width: 20px;
border-left-width: 4px;
margin-top: 2em;
height: auto;
}
.twoColElsLtHdr #footer {
padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
background:#DDDDDD;
background-color: #EEF;
font-size: small;
/* font-family: "Comic Sans MS", cursive; */
font-family: Helvetica, sans-serif;
/* font-family: "Times New Roman", Times, serif; */
}
.twoColElsLtHdr #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 */
text-align: center;
font-size: 14px;
}
/* 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:auto;
font-size: 12pt;
line-height: 0px;
margin-left: 14em;
}
h1 {
font-size: 16pt;
/* font-family: "Comic Sans MS", cursive; */
font-family: Helvetica, sans-serif;
}
h2 {
/* font-family: "Comic Sans MS", cursive; */
font-family: Helvetica, sans-serif;
font-size: large;
font-style: italic;
}
h3 {
text-align: justify;
}
p {
text-align: justify;
}
.twoColElsLtHdr #container #mainContent table tr td a {
color: #000;
text-decoration: none;
}
.twoColElsLtHdr #container #mainContent table tr td a:hover {
color: #FF0;
text-decoration: none;
background-color: #006;
}
h4 {
font-size: 14pt;
font-style: normal;
}
td {
text-align: left;
/* font-family: "Comic Sans MS", cursive; */
font-family: Helvetica, sans-serif;
}
#body {
width: 800px;
float: left;
}
/*#bodycontent {padding: 10px 20px;} */