/*--Setzt alle Abstände auf "Null"--*/
* {
margin: 0;
padding: 0;
}
/*--formatiert die Menüleiste--*/
#menu {
width: 80%;
padding: 0 12px;
background: #DDDDDD;
font-family: Arial;
color: #999999;
font-size: 1em;
line-height: 1.5 ;
float: left;
}
/*--formatiert die Themenblöcke--*/
#menu ul {
float: left;
width: absolute;
list-style-type: none;
}
/*--definiert die Blocküberschriften--*/
#menu h1 {
font-size: 1em;
text-align: center;
color: #999999;
font-size: small;
border: 5px solid #DDDDDD;
background: #DDDDDD;
}
/*--definiert die "Drop-Down-Links" im Normalzustand--*/
#menu a {
text-decoration: none ;
display: block;
border: 5px solid #DDDDDD;
text-align: center;
white-space: nowrap;
font-weight: bold;
font-size: small;
background: #DDDDDD;
color: #999999;
}
/*--definiert die "Drop-Down-Links" im Hoverzustand--*/
#menu a:hover {
color: #000000;
background: #DDDDDD;
}
/*
*verhindert im Zusammenhang mit position absolute bei ul ul
*eine Höhenvergrößerung von #menu beim Hovern--
*/
#menu li {
position: relative;
}
/*--versteckt die "Drop-Down-Links", solange nicht gehovert wird--*/
#menu ul ul {
position: absolute;
z-index: 2;
display: none;
}
/*--lässt die Dropdown-Links beim Hovern erscheinen--*/
#menu ul li:hover ul {
display: block;
}
/*--nur für IE-Versionen kleiner gleich 6 erkennbar--*/
* html #menu ul li {
float: left;
width: 100%;
}
/*--nur für IE 7 erkennbar--*/
*+ html #menu ul li {
float: left;
width: 100%;
}
/*--bewirkt Hover-Effekt für IE kleiner 7 auch für ul- und li-Elemente--*/
*html body {
behavior: url(csshover3-source.htc);
font-size: 100%;
}
*html #menu ul li a {
height: 1%;
}
/*--definiert einen Einzellink im Normalzustand, wenn kein Drop-Down erforderlich--*/
#menu a.direkt:link {
font-size: 1em;
font-weight: bold;
text-align: center;
color: #999999;
border: 5px solid #DDDDDD;
background: #DDDDDD;
}
/*--definiert einen Einzellink im Hoverzustand, wenn kein Drop-Down erforderlich--*/
#menu a.direkt:hover {
color: #000000;
background: #DDDDDD;
border: 5px solid #DDDDDD;
}