Site-Navigation mit Listen, Beispiel 21d

Das Style-Sheet sieht so aus:

body {
   font-size: 15px;
   font-size: 18px;
   color: #000;
   background-color: #a76083;
   padding: 0;
   border: none;
   margin: 0;
   }

#navigation {
   background-color: transparent;
   padding-left:0.3em;
   border-bottom: 2px solid #ffe;
   height: 3.5em;
   }

#navigation LI {
   background-color: transparent;
   padding: 0;
   margin: 0;
   list-style: none;
   display:inline;
   }

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

#navigation A {
   font: bold 0.93em sans-serif;
   color: #000;
   text-decoration: none;
   padding: 0.2em 0.5em;
   border: 1px solid #672647;
   margin: 1.8em 0 0 -1px;
   width: 9.7em;
   display: block;
   float:left;
   }

#navigation A:link, #navigation A:visited {
   background-color: #e6e6e6;
   }

#navigation A:hover, #navigation A:focus {
   background-color: #fff;
   }

#maincontent {
   background-color: #ffe;
   padding: 1em;
   border-top: 2px solid #672647;
   margin: 0;
   }

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>