beschäftige mich momentan mit dem Aufbau einer Internetseite und habe mit hilfe eines Tuturial ein Navigationsmenü mit CSS erstellt. Das funktioniert auch soweit ganz gut, nur verschiebt sich der Inhalt der Seite sobald ich über einen Menüpunkt fahre und somit weitere Punkte nach unten geklappt werden. Bisher konnte ich noch keine Lösung für mein Problem finden. Ich hoffe mir kann wer weiterhelfen.
Vielen Dank
Hier noch der Code meiner CSS-Datei
- Code: Alles auswählen
#menu {
top: 15px;
bottom: 30px;
font-weight: normal;
position: static;
display: block;
float: none;
}
.aussen {
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 0px;
display: block;
width: 150px;
float: left;
text-align: center;
height: 25px;
overflow: hidden;
font-size: 12px;
font-family: Arial,Helvetica,sans-serif;
font-style: normal;
font-weight: normal;
background-color: #ff60d7;
}
a.innen {
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 4px 0px 0px;
float: none;
display: block;
width: 150px;
font-family: Arial,Helvetica,sans-serif;
font-size: 15px;
text-decoration: none;
font-weight: normal;
background-color: #ffff00;
height: 30px;
}
span.menutag {
margin: 0px;
padding: 0px;
height: 25px;
display: block;
background-color: #ff0000;
line-height: 25px;
}
.aussen:hover {
height: auto;
}
a.innen:hover {
font-family: Arial,Helvetica,sans-serif;
color: #33cc00;
background-color: #000000;
clear: both;
}
