Philipp.: Links innerhalb div mit id ansprechen klappt nicht so, wie sonst

Beitrag lesen

Weil du vorher geschrieben hast: DIV = rot ... Dann schreibste #ID = blau....

Hab ich ja nicht.

Ich habe bisher bspw.

#inhalt a:link    { color:#900; text-decoration:none; }  
#inhalt a:visited { color:#900; text-decoration:none; }  
#inhalt a:hover   { color:#000; text-decoration:none; }  
#inhalt a:active  { color:#900; text-decoration:none; }  
  
#hinweis a:link    { color:#000; text-decoration:none; }  
#hinweis a:visited { color:#000; text-decoration:none; }  
#hinweis a:hover   { color:#FFF; text-decoration:none; background-color: #39F; }  
#hinweis a:active  { color:#000; text-decoration:none; }
<div id="inhalt">  
  <a href="#">Link</a> <!-- wird korrekt formatiert -->  
  
  <div id="hinweis">  
    <a href="#">Link</a> <!-- wird *nicht* korrekt formatiert -->  
  
  </div>  
</div>

Der Link unter #hinweis wird nicht korrekt formatiert (andere Farbe, mit Unterstrich), obwohl die angezeigte Farbe + Unterstrich nirgends vorkommt. Es scheinen die Standardsettings von unformatierten Links zu sein - so, als ob *keine* Formatierung greift. Schriftart und Hintergrundfarbe werden aber korrekt angezeigt.