鼠标悬停透明,困扰了我几个月的问题,一直没查到怎么解决,呼唤高手。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN " "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns= "http://www.w3.org/1999/xhtml ">
<head>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 " />
<title> www.52css.com </title>
<style type= "text/css ">
* {
font-size:12px;
}
.tip{
position:relative;
color:#00c;
text-decoration:none;
}
.tip:hover{
background:none;
color:#000;
}
.tip span {
display: none;
}
.tip:hover span{
display:block;
position:absolute;top:26px;left:10px;
border-bottom:2px solid #eee;
border-right:2px solid #eee;
}
.tip:hover span p {
color:#f60;
text-align:left;
padding:5px;
border:1px solid #ccc;
backgrouid #fff;
}
</style>
</head>
<body>
<div>
<a class= "tip " href= "# "> Div+CSS教程 <span> <p> 52CSS.com Div+CSS教程 </p> </span> </a>
<a class= "tip " href= "# "> CSS布局实例 <span> <p> 52CSS.com CSS布局实例 </p> </span> </a>
<a class= "tip " href= "# "> CSS2.0教程 <span> <p> 52CSS.com CSS2.0教程 </p> </span> </a>
<a class= "tip " href= "# "> CSS酷站欣赏 <span> <p> 52CSS.com CSS酷站ggggggggggggggggggggggggggggggggggggggggggggggggggg欣赏 </p> </span> </a>
<a class= "tip " href= "# "> CSS模板下载 <span> <p> 52CSS.com CSS模板下载 </p> </span> </a>
</div>
<div>
<a class= "tip " href= "# "> Div+CSS教程 <span> <p> 52CSS.com Div+CSS教程 </p> </span> </a>
<a class= "tip " href= "# "> CSS布局实例 <span> <p> 52CSS.com CSS布局实例 </p> </span> </a>
<a class= "tip " href= "# "> CSS2.0教程 <span> <p> 52CSS.com CSS2.0教程 </p> </span> </a>
<a class= "tip " href= "# "> CSS酷站欣赏 <span> <p> 52CSS.com CSS酷站ggggggggggggggggggggggggggggggggggggggggggggggggggg欣赏 </p> </span> </a>
<a class= "tip " href= "# "> CSS模板下载 <span> <p> 52CSS.com CSS模板下载 </p> </span> </a>
</div>
<div>
<a class= "tip " href= "# "> Div+CSS教程 <span> <p> 52CSS.com Div+CSS教程 </p> </span> </a>
<a class= "tip " href= "# "> CSS布局实例 <span> <p> 52CSS.com CSS布局实例 </p> </span> </a>
<a &