Hallo, ich bin ein absoluter css-Neuling.
Ich habe eine Navileiste die bei einer Auflösung von 1280x960 optimal ausgerichtet ist. Wenn ich jetzt aber eine geringere Auflösung wähle, wird sie nach rechts eingerückt. Habe schon viel probiert aber komme selbst nicht auf die Lösung.
Es geht nur um die Ausrichtung nach links - die soll immer an der gleichen Stelle anfangen - egal welche Auflösung man nimmt.
Hier mal der Code:
PHP-Code:
#navlist{
margin-left: 0px;
padding-left: 0px;
white-space: nowrap;
position: absolute;
height: 27px;
width: 375px;
top: 92px;
}
#navlist li{
display: inline;
list-style-type: none;
}
#navlist a {
padding: 3px 10px;
background-image: url(images/button.jpg);
height: 20px;
width: 35px;
display: inline;
margin-left : 260px;
position: absolute;
text-align: center;
color: #666666;
text-decoration: none;
font-weight: bold;
}
#navlist a:hover{background-image: url(images/buttonover.jpg);}
#n1{left: 0%;}
#n2{left: 25%;}
#n3{left: 50%;}
#n4{left: 70%;}
}
Hoffe mir kann jemand helfen!
Vielen Dank schon jetzt!!!
