求教css的使用方法

来源:百度知道 编辑:UC知道 时间:2024/05/16 15:53:33
大家看看在静态网页具体table中直接添加css代码应该如何操作.举例我想改变下面这段代码的连接效果样式应该如何添加style=""里面的内容<a href="111" style=""> Ø 7x7</a>style=""

<html>
<head>
<style>
A:visited {COLOR: #00ff00; TEXT-DECORATION: none}
A:hover {COLOR: #3300ff;}
.style1 TD A:visited {COLOR: #397594; TEXT-DECORATION: none}
.style1 TD A:hover {COLOR: #428EFF;}
</style>
</head>
<body>
<table width="50%" border="1" class="style1">
<tr><td><a href="#" target="_blank">文字</a></td></tr>
<tr><td><a href="#" target="_blank">文字</a></td></tr>
<tr><td><a href="#" target="_blank">文字</a></td></tr>
<tr><td><a href="#" target="_blank">文字</a></td></tr>
<tr><td>
<a href="111" style="color:#ff9966" onmouseover="this.style.color='#ff0000'" onmo