Hyperlinks sind essentielle Bestandteile von Webseiten. Nur sehen sie als reine Textlinks meistens nicht wirklich schön aus. Mit etwas CSS kann man so einen Link allerdings fast wie einen Button aussehen lassen und stylen.
Hier das HTML:
Nun das CSS:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | a.button { -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; background:none repeat scroll 0 0 #eee; border:1px solid #999; cursor:pointer; padding:5px; color:#000; text-decoration:none; } a.button:hover { text-decoration:none; } |



