Uschi Renziehausen: a.hover für einzelne class

Beitrag lesen

nö,

DOOOCH,

jedenfalls funzt das in meiner beispieldatei mit hübsch-häßlichen farben *gg*.

<html>
<head>
<title></title>
<style type="text/css">
body {background-color:#ffff00}
a:link   {
 font-weight:bold;
 color:#C1CAD9;
 text-decoration:none; font-family:'Courier new',Times,serif;
 font-style:normal;
 font-size:12pt;
}
a:visited {
 font-weight:bold;
 color:#C1CAD9;
 text-decoration:none;
 font-family:'Courier new',Times,serif;
 font-style:normal;
 font-size:12pt;
}

a:hover   {
 font-weight:bold;
 color:#203B68;
 text-decoration:none;
 font-family:'Courier new',Times,serif;
 font-style:normal;
 font-size:12pt;
 background-color:#ff0000;
}
a:active  {
 font-weight:bold;
 color:#203B68;
 text-decoration:underline;
 font-family:'Courier new',Times,serif;
 font-style:normal;
 font-size:12pt;
}

a.leiste:link
{
 color:FFFFFF;
    text-decoration:none; font-family:'Courier new',Times,serif;
    font-style:normal;
       font-size:9pt;
}

a.leiste:hover  {
 color:FFFFFF;
 text-decoration:underline; font-family:'Courier new',Times,serif;
 font-style:normal;
 font-size:9pt;
 background-color:transparent;
}

a.leiste:visited  {
 color:FFFFFF;
 text-decoration:none; font-family:'Courier new',Times,serif;
 font-style:normal;
 font-size:9pt;
}

a.leiste:active  {
 color:FFFFFF;
 text-decoration:none;
 font-family:'Courier new',Times,serif;
 font-style:normal;
 font-size:9pt;
}

</style>
</head>
<body>
<p><a href="#">test normal</a></p>
<p><a href="#" class="leiste">test mit leiste</a></p>
</body>
</html>
gruß, uschi