Hi!
Ich hab' eine kurze Frage: Ist es mit CSS möglich, in verschiedenen definierten Elementen (<div></div>) unterschiedliches Link-Design zu haben? Beispiel (externe CSS-Datei):
div.menue2 {
width:140px;
padding:2px;
background:rgb(0,102,153);
border:1px solid rgb(255,255,255);
margin-bottom:5px
}
div.menue2 a:link,a:visited,a:active {
color:rgb(190,190,190);
text-decoration:none
}
div.menue2 a:hover {
color:rgb(255,255,255);
text-decoration:none
}
div.inhalt {
position:absolute;
top:80px;
left:160px;
width:540px;
height:445px;
padding:10px;
overflow:auto
}
div.inhalt a:link,a:visited,a:active {
color:rgb(255,255,255);
text-decoration:underline
}
div.inhalt a:hover {
color:rgb(0,102,153);
text-decoration:underline
Irgendwie klappt es nicht! Die Class-Zugehörigkeit wird anscheinend ignoriert und stets die letzte Formatierung für ALLE Links der Seite benutzt!?! Kann mir jemand helfen? Danke!
Chris aus Berlin