• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Farbe definieren

Corraggiouno

Mitglied
Hi,

mein html-code:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>NET</title>
<link href="css/mh.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="wrapper">
<h1>NE</h1>
  <div id="nav">
    <ul>
     <li><a href="ueberuns.php">Home</a></li>
     <li><a href="leistung.php">Leistungen</a></li>
     <li><a href="support.php">Support</a></li>
    </ul> 
  </div>
</div>
</body>
</html>

mein css-code:
Code:
html {
height: 100.3%;
}

body {
font-family: Verdana, sans-serif;
font-size:0.8em;
background:#eeeeee;
}

* {
margin: 0;
padding: 0;
}

div#wrapper {
width: 910px;
margin:15px auto;

}

h1 {
background: url(../images/logo.gif) no-repeat;
height:172px;
text-indent: -999em;
}

div#nav {
background: url(../images/nav_bg.gif) repeat-x;
width:900px;
height:40px;
margin-left:6px;
line-height:40px;

}

div#nav ul {
list-style-type:none;
}

div#nav li {
display: inline; margin-right: 100px;
margin-left:20px;
}

div#nav a {
display:block;
text-decoration: none;
font-size:1.2em;
color:#ffffff;
}
Meine Links werden zunächst überhaupt nicht angezeigt bzw. ich hätte diese gerne in weiß.
Kann mir jemand sagen wo mein Fehler ist?
 
Zurück
Oben