我正在尝试仅在一个特定的开发层中更改链接的属性。理想情况下,我将能够拥有一个代码,它可以使文档中的每个链接保持相同的颜色,尽管它的状态,但我认为这是不可能的。
这是我目前拥有的编码,但它不起作用:
<head>
<style type="text/css">
body {
background-color:#B7B7B7;
background-image:url('http://pophatesfags.site90.net/pophatesfags.png');
background-repeat:no-repeat;
background-position:center top;
}
.text {
font-style: italic;
border-bottom:1px dashed black;
}
div.home {
a:link { color: #70DB93; }
a:visited { color: #70DB93; }
a:hover { color: #70DB93; }
a:active { color: #70DB93; }
}
</style>
</head>
<font color="70DB93"
<div id="home" class="div" style="position:absolute; width:715; height:42; left:27%; top:178px">
<span class="text">
<a href="http://www.pophatesfags.site90.net/home.html">home</font></a></div></style>
任何帮助将不胜感激!