这是我的代码:
css部分
css部分
.blue { color:#6E99E1; font-size:9px; }
标记部分
<span class="blue">::<a href="/equipment_new.PHP">CLICK HERE</a>:: to view our New Equipment inventory. <br /><br /></span>
解决方法
默认情况下,如果存在href属性,则锚标签不会继承属性,如颜色。
<span style=color:green><a href="t">test</a></span> <span style=color:green><a>test</a></span>
以下链接到w3 c:
http://www.w3.org/TR/html401/struct/links.html#h-12.2
User agents generally render links in
such a way as to make them obvIoUs to
users (underlining,reverse video,
etc.). The exact rendering depends on
the user agent. Rendering may vary
according to whether the user has
already visited the link or not.
…..
Usually,the contents of A are not rendered in any special way when A defines an anchor only.