Hallo Ingo,
ich bin dank Dir schon viel weiter, aber noch nicht ganz fertig. Ich habe noch mal eine Frage, besser gesagt ein Problem. Dank % und float habe ich das Menue schon ziemlich angepaßt, jedoch "floated" der background der Untermenuepunkte um den Text. Und ich finde nicht den Fehler in folgendem css-Skript:
ul, li {
list-style-type: none;
margin: 0;
padding: 0;
}
div.menu {
position: absolute;
width: 85%;
top: 102px;
left: 15%;
z-index: 3;
}
div.menu li {
float: left;
width: 14%;
}
div.menu a {
margin: 0 1px;
height: 20px;
display: block;
text-align: center;
border: 1px solid gray;
text-decoration: none;
color: #FFFFFF;
background: #000D66;
}
div.menu a:hover {
color: #000000;
width: 14%;
background: #ccc;
border: 0px solid gray;
}
#smenu1, #smenu2, #smenu3, #smenu4, #smenu5, #smenu6 {
display: none;
float: left;
width: 14%;
font-size: 11px;
}
#smenu1 a, #smenu2 a,#smenu3 a, #smenu4 a,#smenu5 a,#smenu6 a {
border-top: 0 none;
}
.site {
position: absolute;
z-index: 1;
top : 70px;
left : 10px;
color: #000;
background-color: #141414;
padding: 5px;
border: 0px solid gray;
}
.mentions {
position: absolute;
top : 300px;
left : 10px;
color: #000;
background-color: #141414;
}
a {text-decoration: none;
color: #141414;
}
Kannst DU mir bei der Fehlersuche helfen?
Danke, Sabine