a:link{ color: #CC0000; margin: 20px; display: block;; } a:hover{ background: #CC0000; color: #FFF; } a:visited{ color: #CCC; }