Hallo Leute,
ich komme einfach nicht weiter.
Im HTML Validator wird mir ein Fehler angezeigt und ich finde einfach nicht die Lösung dazu.
Der Link ansich funktioniert wie er soll und die CSS greift auch
Bis dahin ist alles OK. Aber keine Ahnung was da nicht ganz stimmt ????
Mit der Lösung wäre ich so ziemlich auf einigen Seiten bei 0 Fehler in der Valdation
Hier der LINK:
<a class="gray" href="./index.html">ZURÜCK ZUR STARTSEITE</a>
UND HIER DIE CSS:
/* link, visited, hover, active */
a.gray:link {
color: black;
padding: 0px 20px;
text-align: center;
background-color: #c3c1c1;
text-decoration:underline;
display: inline-block;
}
a.gray:visited {
color: #000000;
padding: 0px 0px;
text-align: center;
background-color: underline;
text-decoration:underline;
}
a.gray:hover {
color: white;
padding: 0px 0px;
text-align: center;
background-color: #7c7c7c;
width: 300px;
text-decoration:underline;
display: inline-block;
}
a.gray:active {
color: #white;
padding: 0px 0px;
text-align: center;
background-color: #b13a2e;
text-decoration:underline;
display: inline-block;
}
Danke im VORRAUS
Gruß
MCMACMASTER