body {
margin: 0px;padding: 0px;
font-size: small;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
h1 { font-size:240%;
font-family: arial, verdana, sans-serif;
color:#696969;
font-style:italic;
text-align:center;
margin-top: 0px;
margin-left: 240px;
margin-right:240px;
background-color: E5FFFF;
}
h2 { font-size:140%;
font-family: arial, verdana, sans-serif;
color:#696969;
font-style:italic;
text-align:center;
margin-top: 10px;
margin-left: 240px;
margin-right:240px;
background-color: E5FFFF;
}
#navibereich {
padding: 2em 0em;/*Innenabstand oben/unten linksrechts*/
border-top-width:0px;
border-top-style:solid;
border-bottom-width:0px;
border-bottom-style:solid;
border-left-width:0px;
border-left-style:solid;
border-right-width:0px;
border-right-style:solid;
background-color: E5FFFF;
text-align: left;
margin-top: 25px;
margin-bottom: 80px;
margin-right: 5px; /*Rand aussen des Navigationsrahmens(rechts)*/
margin-left:5px; /*Rand aussen des Navigationsrahmens(links)*/
}
/* -------NUN DER WICHTIGE TEIL------------ */
#navibereich li{
padding: 0px 0px; /* Innenabstand: oben/unten 4px, li/re 0 */
/* Keinen Außenabstand */
display: inline; /* Listenelemente nebeneinander */
list-style-type: none; /* Aufzählungszeichen entfernen */
}
#navibereich li {
float: left;
position: relative;
width: 12em;
}
#navibereich ul{
background-color: E4GGGG;
}
#navibereich li ul {
display: none;
position: absolute;
padding: 0.5em 0px; /*zweite Zahl gibt Abstad der Untermenüpunkte an*/
border-left-width:0px;
border-left-style:solid;
border-left-color:black;
border-bottom-width:0px;
border-bottom-style:solid;
border-bottom-color:black;
border-right-width:0px;
border-right-style:solid;
border-right-color:black;
background-color: E5FFFF;
}
#navibereich li:hover ul {
display: block;
background-color: E5FFFF;
}
a:link {font-weight:bold; color: 3300CC; text-decoration:none; }
a:visited: {font-weight:bold; color: grey; text-decoration:none; }
a:focus: {font-weight:bold; color: red; text-decoration:none; }
a:hover {font-weight:bold; color: 003300; text-decoration:none; }
a:active {font-weight:bold; color: 4C4C66; text-decoration:none; }
g:focus { background-color:red; }
g:hover { background-color:silver; }
g:active { background-yellow:red; }