如何去掉首頁下的下劃線,為什麼超鏈接都會有下劃線.

chenlishu413 2003-10-19 03:23:17
如何去掉<a href="www.sohu.com">首頁</a>下的下劃線,為什麼超鏈接都會有下劃線.
...全文
53 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
tommerxx 2003-10-19
  • 打赏
  • 举报
回复
在<head></head>间加入css样式:
<style type="text/css">
<!--
a:hover {
text-decoration: none;
}
a:link{text-decoration: none;
}
a:visited {
text-decoration: none;
}
-->
</style>
snowskyplay 2003-10-19
  • 打赏
  • 举报
回复
a.nav1:hover {color: #FFEFA5;text-decoration: underline;}//a:hover {color: #cc0000;text-decoration: underline;}
改为a.nav1:hover {color: #FFEFA5;text-decoration: none;}//a:hover {color: #cc0000;text-decoration: none;}
DebugXP 2003-10-19
  • 打赏
  • 举报
回复
?????????????
DebugXP 2003-10-19
  • 打赏
  • 举报
回复
<a href="www.sohu.com" style="text-decoration: none">首頁</a>

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧