CSS样式:
/*超级链接样式*/
a:link {
font-size:12pt;color:#ffffff;text-decoration:none
}
a:visited {
font-size:12pt;color:#ffffff;text-decoration:none
}
a:active {
font-size:12pt;color:#ffffff;text-decoration:none
}
a:hover {
font-size:12pt;color:#ffffff;text-decoration:none
}用户控件里的链接:
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="../index.aspx">首页</asp:HyperLink>是什么原因?
/*超级链接样式*/
a:link {
font-size:12pt;color:#ffffff;text-decoration:none
}
a:visited {
font-size:12pt;color:#ffffff;text-decoration:none
}
a:active {
font-size:12pt;color:#ffffff;text-decoration:none
}
a:hover {
font-size:12pt;color:#ffffff;text-decoration:none
}用户控件里的链接:
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="../index.aspx">首页</asp:HyperLink>是什么原因?
解决方案 »
- asp.net 能截屏输出到word吗?
- ASP.NET MVC,怎样分离代码、UI?
- 求如何在ASP.net中使用Crystal reports的方法
- 程序员朋友们:有三点我要申明
- 一个XML问题,请帮助我。急!!!
- ASP.NET用户控件放在网页中变形了,是什么原因?
- Access报错:操作必须使用一个可更新的查询。
- 怎样把众多的*.aspx放到vs.net中统一管理
- 公司里asp.net验证控件用的多吗?
- datagrid用checkbox选中删除记录的问题???waiting
- [求助]如何将datagrid中日期和主题移放入嵌入的datalist中的首行
- button中的服务器端单击事件,跟客房端的单击事件问题!
font-size:12pt;color:#ffffff;text-decoration:none
}
再就是asp.net有没有定义Skin文件.skin文件对服务器控件的样式有影响.
<table border="0" cellpadding="0" cellspacing="0" style="width: 617px; height: 43px;">同时在C盘找到setup.skin文件,类型:asp.net skin file 不知有影响没以下是网址,请看一下是否有下划线出现,”首页“已加上链接http://www.119119.cc/index.aspx
A:visited{font-size:12pt;color:#ffffff;text-decoration:none}
A:hover {font-size:12pt;color:#ffffff;text-decoration:none}
A:active {font-size:12pt;color:#ffffff;text-decoration:none}
<style type="text/css">
<!--
@import url("style.css");
-->
</style>
<style type="text/css"> a { text-decoration: none} </style>
我試過可以,你可以試試看!