Hi,
ich möchte in meiner CSS Datei keinerlei Redundanzen bei den Formatierungsangaben. Wie kann ich möglichst effizient die Formatierung der Links zusammenfassen. Meine Links sollen alle gleich aussehen und nur beim Drüberstreichen fett werden und die Farbe ändern. Besuchte Links sollen sich nicht ändern.
Hier mein aktueller Vorschlag:
a { font-family: Verdana,Arial,sans-serif;font-style: normal;font-variant: normal;font-weight: normal;text-decoration: none; }
a.vertikalenavigation { font-size: 1em; color: #FFF;padding: 10px 5px 10px 15px;display: block; }
a.vertikalenavigation:hover { font-weight: bold;color: #828fc6; }
a.vertikalenavigation:active { font-weight: bold;color: #828fc6; }
a.vertikalenavigation:focus { font-weight: bold;color: #828fc6; }
So spare ich auch die Angabe :visited.
Viele Grüße
Masha