刚学web的小白想请教下各位大佬
介个超链接的颜色我设置了白色,为什么它会变成白色的呢,还有无序列表前面那个点点怎么去掉。
附下代码:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSS样式作业</title>
<style>
table{
border:2px solid white;
/*border-collapse:collapse;*/
width: 300px;
}
th{
background-color: #3cc;
text-align: center;
font-size:18px;
line-height: 3em
}
td{
color:white;
background-color: rgb(0,0,0);
font-size:12px;
}
a:link{
text-decoration:none;
color: rgb(255,255,255)
}
a:hover{
background-color: white;
color: rgb(0,0,0)
}
</style>
</head>
<body>
<table>
<tr>
<th>外国最经典的文学名著</th>
</tr>
<tr>
<td>
<ul>
<li>
<a href=" ">希腊神话——古希腊文明瑰宝</a ></li>
<li><a href="#">伊索寓言——一部经典的寓言故事集</a ></li>
<li><a href="#">荷马史诗——横亘千古的文学瑰宝</a ></li>
<li><a href="#">俄狄浦斯王——古希腊悲剧的典范</a ></li>
</ul>
</td>
</tr>
</table>
</body>
</html>