body {
	margin:20px;
	padding:0px;
	font-family:verdana, arial, helvetica, sans-serif;
	color:#333;
	background-color:white;
	}
h1 {
	margin:0px 0px 10px 0px;
	padding:0px;
	font-size:28px;
	line-height:28px;
	font-weight:900;
	color:#ccc;
	}
h2 {
	font:bold 22px/24px verdana, arial, helvetica, sans-serif;
	margin:0px 0px 10px 0px;
	padding:0px;
	color:#ccc;
	}
p {
	font:11px/16px verdana, arial, helvetica, sans-serif;
	margin:0px 0px 8px 0px;
	padding:0px;
	}

a {
	color:#09c;
	font-size:11px;
	text-decoration:none;
	font-weight:600;
	font-family:verdana, arial, helvetica, sans-serif;
	}
a:link {color:#09c;}
a:visited {color:#07a;}
a:hover {background-color:#eee;}


/* This next part is for the button-like links that close the boxes.
The button divs belong to the cb class.
The links are given the pale grey background colour which turns blue on hover and a border.
They are wrapped in a div that aligns itself horizontally to the right */

div.cb {
  text-align: right; 
  clear: both;
  padding: 0px 0px;
  }

a.close {
	color:#09c;
	font-size:10px;
	font-weight:600;
	text-decoration:none;
	padding:3px;
	background-color:#eee;
	border:1px solid black;
	}
a.close:link {color:#09c;}
a.close:visited {color:#09c;}
a.close:hover {
	color:#09c;
	background-color:#FFFF99;
	text-decoration: underline;
	}

/* the spacer div, sometimes used in place of 
but especially useful for wrapping images within the larger divs so they can be more easily positioned */ div.spacer { text-align: center; clear: both; padding: 0px 0px 8px 0px } /*start the box model layout. see http://www.bluerobot.com for more details on this part*/ /* header and footer content boxes belong to the content class. */ /* boxes which open and close belong to the section class.*/ /* allow these boxes to resize their width - but not too small */ /* use margin to position it 140px away from the right hand side of the screen this leaves room for the navigation box */ .content { position:relative; /* position is declared "relative" to gain control of stacking order (z-index). */ width:auto; min-width:120px; margin:0px 140px 10px 20px; border:1px solid black; background-color:#FFFFFF; padding:10px; } .section { position:relative; width:auto; min-width:120px; margin:0px 140px 10px 20px; border:1px solid black; background-color:#fff; padding:10px; } /* the first section box gets special treatment so it will open on load */ #number1{ display: block } /* the right hand side navigation box */ #nav { /* postion the navigation box 20px down and to the right of the top right corner */ position:absolute; top:20px; right:20px; /* For IE5/Win's benefit width = [correct width] + [right padding] + [left and right border widths] */ width:120px; /* 98 + 20px + 1px + 1px = 120px */ border:1px dashed black; background-color:#eee; padding:10px; /* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity. Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it. IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style declaration. The incorrect IE5/Win value is above, while the correct value is below. See http://glish.com/css/hacks.asp for details. */ voice-family: "\"}\""; voice-family:inherit; width:98px; /* the correct width */ } /* This is called the "be nice to Opera 5" rule. Basically, it feeds correct length values to user agents that exhibit the parsing error exploited above yet get the CSS box model right and understand the CSS2 parent-child selector. ALWAYS include a "be nice to Opera 5" rule every time you use the Tantek Celik hack (above). */ body>#nav {width:98px;}