-1
4

1 回答 1

2

该值underlined对属性无效text-decoration。你正在寻找underline.

a:link {color: #008000; text-decoration: none;}
a:visited {color: #cccccc; text-decoration: none;}
a:active {color: #ff0000; text-decoration: underline;}
a:hover {color: #606060; text-decoration: underline;}

JSFiddle

于 2012-04-15T21:00:51.010 回答