61,115
社区成员
发帖
与我相关
我的任务
分享
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>title</title>
<style>
a{margin:20px;padding:40px;width:100px;border-bottom:3px solid transparent;}
a:hover{border-bottom:3px solid red;}
div{float:left;}
</style>
</head>
<body>
<a>table1</a>
<a>table2</a>
<a>table3</a>
<a>table4</a>
</body>
</html>
[/quote]
你这个是鼠标经过,我想要的是点击之后跳转了 下面有红边框
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>title</title>
<style>
a{margin:20px;padding:40px;width:100px;border-bottom:3px solid transparent;}
a:hover{border-bottom:3px solid red;}
div{float:left;}
</style>
</head>
<body>
<a>table1</a>
<a>table2</a>
<a>table3</a>
<a>table4</a>
</body>
</html>
a{background:#fff;}
a:link, a:visited {
background:red;
}