风讯官方论坛

首页 » FoosunCMS交流区 » Foosun3.x安装使用 » 怎么样去掉超级连接的下划线啊?
zlez2009 - 2008-3-11 08:57:00
跟以前一样,在index中加如了相应代码,发布后没有反映,在css中定义了也不行,怎么办才能实现?????
jxspace - 2008-3-11 09:46:00
这是通过CSS来实现的,比如我给你打个简单的比方,你将以下代码放在模版源文件的<head></head>之间,就可以实现链接的标题不显示下划线:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
a:link {
    text-decoration: none;
}
a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:active {
    text-decoration: none;
}
-->
</style></head>
lunwen - 2008-3-28 19:48:00
通过css

我的www.sina-ut.cn就是通过上面的解决的
jxspace - 2008-3-30 14:16:00
如果你的CSS样式定义正确,则是可以显示的,如果你的CSS是调用外部链接,则检查一下路径是否正确!
1
查看完整版本: 怎么样去掉超级连接的下划线啊?