/* CSS Document */
body {
background-image:url(Images/background.jpg);
}
div#container {
position: absolute;
background-color:#ffffff;
margin-left: 50px;
margin-top: 50px;
width: 901px;
height: 500px;
}
* html div#container { position: absolute; margin-top: 15px; }
div#banner {
position: absolute;
background-image: url(Images/banner.jpg);
height: 85px;
width: 895px;
margin-left: 2px;
margin-right: 2px;
margin-top: 2px;
margin-bottom: 2px;
border: 1px solid black
}
div#navigation {
position: absolute;
background-image: url(Images/menu.jpg);
margin-left: 2px;
margin-right: 2px;
margin-top: 90px;
width: 895px;
height: 20px;
border:1px solid black;
z-index: 2;
}
div#maincontent {
height: 360px;
width: 895px;
position: absolute;
background-color: #666666;
margin-top: 113px;
margin-left: 2px;
border: 1px solid black;
clear: left;
}
* html div#maincontent{
height: 360px;
width: 895px;
position: absolute;
background-color: #666666;
margin-top: 114px;
margin-left: 2px;
border: 1px solid black;
clear: left;
}
div#footer {
position: absolute;
background-image: url(Images/menu.jpg);
margin-left: 2px;
margin-right: 2px;
margin-top: 477px;
width: 895px;
height: 20px;
border:1px solid black;
z-index: 2;
}
//*///////////////////////MENU////////////////////////////////////////////////////////////////////////*//
body {
font-family: arial, helvetica, serif;
}
#nav, #nav ul { /* all lists */
padding: 0;
margin: 0;
list-style: none;
line-height: 1;
}
#nav a {
display: block;
width: 10em;
height:19px;
text-decoration: none;
color: #FFFFFF;
text-align: center;
}
#nav li { /* all list items */
float: left;
width: 10em; /* width needed or else Opera goes nuts */
border: 1px solid black;
}
#nav li ul { /* second-level lists */
position: absolute;
background-image: url(Images/menu.jpg);
width: 10em;
left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
text-decoration: none;
}
#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
left: auto;
}
a:hover {
color:#FF0000;
}