Site-Navigation mit Listen, Beispiel 12

Das Style-Sheet sieht so aus:

body {
   font-size: 15px;
   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 {
   font: 1em/25px "Comic Sans MS", fantasy;
   text-align: right;
   display: block;
   padding: 5px 0;
   border: none;
   margin: 0;
   }
#navigation A:link, #navigation A:visited {
   color: #c7c88d;
   background: #05b;
   text-decoration: none;
   width: 150px;
   display: block;
   }
#navigation A:hover, #navigation A:focus {
   color: #fff;
   background-color: #05b;
   background-image: url(//graphics/navback2.gif);
   background-repeat: no-repeat;
   background-position: center;
   text-decoration: none;
   width: 150px;
   display: block;
   }

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>