Hallo Malte,
A:link {
color : black;
padding : 8px;
width:100%;
height:20%;
border : 1px solid #000000;
text-decoration: none; }
Das a-Element ist ein Inline-Element. Weise ihm die Eigenschaft 'display:block' zu.
Verkürzen lässt sich deine Scheibweise auch noch:
a {
display:block;
width:100%;
height:20%;
color : black;
padding : 8px;
border : 1px solid #000;
text-decoration: none; }
a:hover {
background-color : #575f2b;
}
a:active {
background-color : #575f2b;
}
Mit freundlichen Grüßen
André