<li><style type="text/css">a.ts_716:link{color:#00ff00;background-color:#ffff00;font-weight:normal;font-style:normal;text-decoration:none;font-family:Arial;}
a.ts_716:visited{background-color:#ffff80;font-weight:normal;font-style:normal;text-decoration:none;font-family:Arial;}
a.ts_716:hover{color:#ff8080;font-weight:normal;font-style:normal;text-decoration:italic;font-family:Arial;}
a.ts_716:active{color:#00ff00;font-weight:normal;font-style:normal;text-decoration:italic;font-family:Arial;}
</style><a class='ts_716' target="_blank" href="716.html" title="测试标题样式测试标题样式测试标题样式">测试标题样式测试标题样式测试标题样式</a></li>
这是我用c#代码自动生成的css和html,
把这段代码拷贝到一个空白html文件里显示效果很好。
,但在index.html整个文档里 链接效果却与定义不同。
如何提高这段style的优先级呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货