Hallo, ich habe folgenden Code:
CSS:
Alles anzeigen
HTML:
Wie schaffe ich es nun, die Links zu zentrieren? Habe schon mehrere Möglichkeiten ausprobiert.
Gruß, zichy
CSS:
Quellcode
- body {
- background-color: #FFFFEE;
- color: #800000;
- font-family: Verdana, Helvetica, sans-serif;
- font-size: 14px;
- text-align: center;
- cursor: default;
- }
- #test a {
- background-color: #EEAA88;
- color: #800000;
- font-size: 20px;
- width: 20%;
- margin: 10px;
- padding: 10px;
- border: 2px solid #800000;
- text-decoration: none;
- }
- #test a:hover {
- background-color: #800000;
- color: #EEAA88;
- }
HTML:
Wie schaffe ich es nun, die Links zu zentrieren? Habe schon mehrere Möglichkeiten ausprobiert.
Gruß, zichy