body {color:#333; background-color:white; margin:20px;padding:0px; font:1em verdana, arial, helvetica, sans-serif; font-size:100%; } h1 { margin:0px 0px 15px 0px; padding:0px; font-size:1.6em; font-weight:800; color:#50687f; } h2 { font:bold 1.3em/16px verdana, arial, helvetica, sans-serif; margin:0px 0px 5px 0px; padding:0px; } p { font:.85em/14px verdana, arial, helvetica, sans-serif; margin:0px 0px 16px 0px; padding:0px; } .Content>p {margin:0px;} .Content>p+p {text-indent:30px;} a { color:#09c; font-size:11px; font-family:.75em verdana, arial, helvetica, sans-serif; font-weight:600; text-decoration:none; } a:link {color:#09c;} a:visited {color:#07a;} a:hover {background-color:#eee;} /* All the content boxes belong to the content class. */ .content { position:relative; /* Position is declared "relative" to gain control of stacking order (z-index). */ width:auto; min-width:120px; margin:0px 210px 20px 170px; border:1px solid black; background-color:#d9eeff; padding:10px; z-index:3; /* This allows the content to overlap the right menu in narrow windows in good browsers. */ } #navAlpha { position:absolute; width:150px; top:20px; left:20px; border:0px dashed black; background-color:#7296b5; padding:10px; z-index:2; /* 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:128px; } /* I've heard this 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>#navAlpha {width:128px;} #nav { position: static; float: left; width: 100px; background-color: #00a5c6; } #nav ul { list-style: none; margin: 15px 0 15px 0; padding: 0; border: 1px; } #nav li {text-align: center; border-bottom: 1px solid #90bade; width: 108px; margin: 0; padding: 0; font: 10px/15px "Lucida Sans Unicode", Verdana, sans-serif; color: #90bade; background: #FFF; } .navtop { border-top: 1px solid #90bade; } #nav li a { display: block; font-weight: normal; padding: 0; border-left: 10px solid #1958b7; border-right: 10px solid #508fc4; background-color: #2175bc; color: #FFF; text-decoration: none; width: 100px; voice-family: "\"}\""; voice-family: inherit; width: 100px; } html>#nav li a { width: 98px; } html>body #nav li a { width: auto;} #nav li a:hover { font-weight: normal; border-left: 10px solid #1c64d1; border-right: 10px solid #5ba3e0; background-color: #94d6e7; color: #000; text-decoration: none; } #nav h3 { font-size: 120%; text-decoration: underline; background-image: none; text-align: center; padding: 0; } #navBeta {position:absolute; width:190px; top:20px; right:20px; border:1px solid black; background-color:#fff; padding:10px; z-index:1; /* Again, the ugly brilliant hack. */ voice-family: "\"}\""; voice-family:inherit; width:168px; } /* Again, "be nice to Opera 5". */ body>#navBeta { width:168px; } #navBeta ul {list-style: none;} #navBeta li a {text-decoration:none; } #Footer { margin:50px 0px 10px 0px; padding:17px 0px 0px 20px; }