Site-Navigation mit Listen, Beispiel 11

Das Style-Sheet sieht so aus:

body {
   color: #000;
   background-color: #05b;
   padding: 0;
   margin: 0;
   }

#maincontent {
   background-color: #e3e0c6;
   padding: 1em;
   border-left: 1px solid #002c88;
   margin: 0 0 0 174px;
   }

#navigation {
   background-color: transparent;
   position: absolute;
   top: 7px;
   left: 7px;
   }

#navigation LI {
   background-color: transparent;
   padding: 0;
   margin: 0;
   list-style: none;
   width: 160px;
   }

#navigation UL {
   background-color: transparent;
   padding: 0;
   margin: 0;
   }

#navigation A {
   color: #fff;
   font: bold 0.94em sans-serif;
   text-decoration: none;
   display:block;
   padding: 3px 10px;
   border: 1px solid #05b;
   margin: 0;
   width: 138px;
   border-radius:5px;
   -moz-border-radius:5px;
   }

#navigation A:link, #navigation A:visited {
   background-color: #05b;
   border: 1px solid #05b;
   }

#navigation A:hover, #navigation A:focus {
   background-color: #46c;
   border: 1px solid #c7c88d;
   }

Das HTML der Seite sieht so aus:

<html>
<head></head>
<body>

<div id="navigation">
<ul>
<li><a title="Grundlagen"
       href="#">Grundlagen</a></li>
<li><a title="Referenz"
       href="#">Referenz</a></li>
<li><a title="Tutorials"
       href="#">Tutorials</a></li>
<li><a title="Browsers"
       href="#">Browsers</a></li>
</ul>
</div>

<div id="maincontent"></div>
</body>
</html>