Hallo liebe Community!
Ich stehe gerade vor einem Problem dass ich beim besten Willen nicht mehr selbst lösen kann.
Ich habe auf meiner Seite links allgemein im Css File definiert, das schaut so aus:
#main #content #inhalt #text a:link {
font-size: 15px;
color: #CE1300;
text-decoration: none;
font-family: Geneva, Arial, Helvetica, sans-serif;
}
#main
#content #inhalt #text a:visited {
font-size: 15px;
color: #CE1300;
text-decoration: none;
font-family: Geneva, Arial, Helvetica, sans-serif;
}
#main #content #inhalt #text a:hover {
font-size: 15px;
color: #CE1300;
text-decoration: none;
font-family: Geneva, Arial, Helvetica, sans-serif;
}
#main #content #inhalt #text a:active {
font-size: 15px;
color: #CE1300;
text-decoration: none;
font-family: Geneva, Arial, Helvetica, sans-serif;
}
Jetzt will ich aber eine Überschrift die gleichzeitig auch ein Link ist, in einer anderen Farbe definieren.
Im Html file schauts so aus:
[HTML]
und im css hab ich das definiert:
[CODE]#uepresse {
background-image:url(images/ue_farbverlauf.png);
background-repeat:repeat-y;
color:#FFF;
font-size:16px;
font-weight:bold;
padding-left:5px;
padding-bottom:3px;
padding-top:3px;
}
a.beispiel:link {color:#0000FF; size:14px;}
a.beispiel:visited {color:#FFFF00; size:14px;}
a.beispiel:active {color:#00FFFF; size:14px;}
a.beispiel:hover {color:#FF0000; size:14px; text-decoration:underline;} [/CODE]
Leider übernimmts aber nicht meine Extradefinition sondern behandelt den link wie alle anderen…Kein Plan wie ich das hinbiegen muss damits funktioniert. :S
Vielen dank schon mal für eure Hilfe
Mfg
JOhannski