04.09.2006, 17:03
Hi,
schau Dir mal das Beispiel an
[HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>Navidemo</title>
<style type="text/css">
body {
background-color: #f7f7f7;
font-family: Verdana, Arial;
font-size: 12px;
color: #000000;
}
#nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
#nav li {
float: left;
}
#nav a {
display: block;
border: 1px solid red;
padding: 3px;
margin-right: 2px;
font-size: 11px;
text-align: center;
width: 100px;
}
#nav a:hover {
background-color: #ffcc00;
border: 1px solid red;
padding: 3px;
margin-right: 2px;
font-size: 11px;
text-align: center;
}
</style>
</head>
<body>
<div id="nav">
<ul>
<li><a href="ueberstinah.php">Über Stinah</a></li>
<li><a href="notfaelle.php">Notfälle</a></li>
<li><a href="wissen.php">Wissen</a></li>
<li><a href="tiervermittlung.php">Tiervermittlung</a></li>
<li><a href="stiftungstiere.php">Stiftungstiere</a></li>
<li><a href="ihrbeitrag.php">Ihr Beitrag</a></li>
<li><a href="links.php">Links</a></li>
<li><a href="kontakt.php">Kontakt</a></li>
</ul>
</div>
</body>
</html>
[/HTML]
Schaut im IE, FF und OP gleich aus...
Cu Helmut
schau Dir mal das Beispiel an
[HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>Navidemo</title>
<style type="text/css">
body {
background-color: #f7f7f7;
font-family: Verdana, Arial;
font-size: 12px;
color: #000000;
}
#nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
#nav li {
float: left;
}
#nav a {
display: block;
border: 1px solid red;
padding: 3px;
margin-right: 2px;
font-size: 11px;
text-align: center;
width: 100px;
}
#nav a:hover {
background-color: #ffcc00;
border: 1px solid red;
padding: 3px;
margin-right: 2px;
font-size: 11px;
text-align: center;
}
</style>
</head>
<body>
<div id="nav">
<ul>
<li><a href="ueberstinah.php">Über Stinah</a></li>
<li><a href="notfaelle.php">Notfälle</a></li>
<li><a href="wissen.php">Wissen</a></li>
<li><a href="tiervermittlung.php">Tiervermittlung</a></li>
<li><a href="stiftungstiere.php">Stiftungstiere</a></li>
<li><a href="ihrbeitrag.php">Ihr Beitrag</a></li>
<li><a href="links.php">Links</a></li>
<li><a href="kontakt.php">Kontakt</a></li>
</ul>
</div>
</body>
</html>
[/HTML]
Schaut im IE, FF und OP gleich aus...
Cu Helmut