#div1 {position:relative; width:260px; height:260px; margin: 15px auto  0; }
#div1 a {position:absolute; top:0px; left:0px;  color:#000; font-weight:bold; text-decoration:none; padding: 3px 6px; }
#div1 a:hover {border: 1px solid #eee; background: #000; }
#div1 .blue {color:blue;}
#div1 .red {color:red;}
#div1 .yellow {color:yellow;}

p { font: 16px Microsoft YaHei; text-align: center; color: #000; }
p a { font-size: 14px; color: #ba0c0c; }
p a:hover { color: red; }