Hi leute,
ich hab ein kleines problem mit css. vermutlich hab ich die funktion einfach nicht richtig verstanden
also ich hab in einer datei folgendes:
HTML
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html" />
<meta name="author" content="" />
<title>Untitled 1</title>
<link rel="stylesheet" type="text/css" href="style/header.css" />
</head>
<body>
<a href="index.php" id="Navigation1">Index</a>
<a href="fight.php" id="Navigation2">Fiight</a>
<a href="Economie.php" id="Navigation3">Economie</a>
<a href="Worldmap.php" id="Navigation4">World Map</a>
<a href="Info.php" id="Navigation5">Info</a>
<a href="Contributing.php" id="Navigation6">Contributing</a>
</body>
</html>
Alles anzeigen
und im anderen folgendes:
Code
#navigation1 {
margin-top: 30px;
margin-right: 20px;
margin-bottom: 20px;
margin-left: 0px;
background: white;
padding: 2px 2px 2px 2px;
border-width: 3px;
border-style: groove;
border-color: red;
height: 50px;
width: 16%;
position:relative;
left: 100px;
bottom: 300px;
}
#navigation2 {
margin-top: 30px;
margin-right: 20px;
margin-bottom: 20px;
margin-left: 0px;
background: white;
padding: 2px 2px 2px 2px;
border-width: 3px;
border-style: groove;
border-color: red;
height: 50px;
width: 16%;
position:relative;
left: 300px;
bottom: 200px;
}
#navigation3 {
margin-top: 30px;
margin-right: 20px;
margin-bottom: 20px;
margin-left: 0px;
background: white;
padding: 2px 2px 2px 2px;
border-width: 3px;
border-style: groove;
border-color: red;
height: 50px;
width: 16%;
position:relative;
left: 500px;
bottom: 100px;
}
#navigation4 {
margin-top: 30px;
margin-right: 20px;
margin-bottom: 20px;
margin-left: 0px;
background: white;
padding: 2px 2px 2px 2px;
border-width: 3px;
border-style: groove;
border-color: red;
height: 50px;
width: 16%;
position:relative;
left: 600px;
bottom: 100px;
}
#navigation5 {
margin-top: 30px;
margin-right: 20px;
margin-bottom: 20px;
margin-left: 0px;
background: white;
padding: 2px 2px 2px 2px;
border-width: 3px;
border-style: groove;
border-color: red;
height: 50px;
width: 16%;
position:relative;
left: 400px;
bottom: 300px;
}
#navigation6 {
margin-top: 30px;
margin-right: 20px;
margin-bottom: 20px;
margin-left: 0px;
background: white;
padding: 2px 2px 2px 2px;
border-width: 3px;
border-style: groove;
border-color: red;
height: 50px;
width: 16%;
position:relative;
left: 200px;
bottom: 200px;
}
Alles anzeigen
aber dennoch wird nur die formation von #naviagtion eins herangezogen
Was mache ich falsch/ was muss ich machen, damit alle sachen einbezogen werden?
Danke im voraus,
Darren