如何实现点击连接前后其颜色不变? 我在DropDownList控件中加了hyperlink列,希望点击该连接前后一直为默认颜色,如何实现?谢谢!! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 a:link { text-decoration: none; color: #FF0000;}a:visited { text-decoration: none; color: #FF0000;}a:hover { text-decoration: underline; color: #FF0000;}a:active { text-decoration: none; color: #FF0000;} css真的很好用哈,要好好学习学习 我在项目根目录下直接添加了Alink.cssa:link { text-decoration: none; color:Silver;}a:visited { text-decoration: none; color: Silver;}a:hover { text-decoration: underline; color: Silver;}a:active { text-decoration: none; color: Silver;}然后在datalist中的连接中的<a>中加入了<a href='<%# DataBinder.Eval(Container,"DataItem.imgpath","../bigimgfolder/{0}") %>'target=_blank class=Alink.css> <img src= '<%# DataBinder.Eval(Container,"DataItem.imgpath","./smallimgfolder/s{0}") %>' alt=" 图片暂缺"/></a>为什么图形外面的框还是没有变化?在这借问一下,不知道楼主问题解决没有,还是我的方法是错误的,请各位高手说一下,多谢了!!学习学习!这个不太懂! a:link { text-decoration: none; color:Silver;}a:visited { text-decoration: none; color: Silver;}a:hover { text-decoration: underline; color: Silver;}a:active { text-decoration: none; color: Silver;}这样就 够了,然后在head标签中写<link href="Alink.css" rel="stylesheet" type="text/css"> ASP.NET中如何对一个文件夹中的许多JPG图片文件操作:查找,另存为, 打卡问题 求解 html控件可以有更改值后事件吗 求仿WORD的HTMLAREA 如何从数据库中读取图片?乱码:?JFIF, 问会vb.net的大哥关于截取字符的一个小问题 怎么让DROPDOWNLIST自动选中某个值? 上传图片控件 关于FCKeditor应用在两个页面中字体样式设置不一致 请问如何将dropdownlist与数据库联起来? sql 大容量导出. /aa/bb/cc.jpg 我想去掉路径和后缀名,只剩下cc
text-decoration: none;
color: #FF0000;
}
a:visited {
text-decoration: none;
color: #FF0000;
}
a:hover {
text-decoration: underline;
color: #FF0000;
}
a:active {
text-decoration: none;
color: #FF0000;
}
a:link {
text-decoration: none;
color:Silver;
}
a:visited {
text-decoration: none;
color: Silver;
}
a:hover {
text-decoration: underline;
color: Silver;
}
a:active {
text-decoration: none;
color: Silver;
}
然后在datalist中的连接中的<a>中加入了
<a href='<%# DataBinder.Eval(Container,"DataItem.imgpath","../bigimgfolder/{0}") %>'target=_blank class=Alink.css>
<img src= '<%# DataBinder.Eval(Container,"DataItem.imgpath","./smallimgfolder/s{0}") %>' alt=" 图片暂缺"/></a>
为什么图形外面的框还是没有变化?
在这借问一下,不知道楼主问题解决没有,还是我的方法是错误的,请各位高手说一下,多谢了!!
学习学习!这个不太懂!
text-decoration: none;
color:Silver;
}
a:visited {
text-decoration: none;
color: Silver;
}
a:hover {
text-decoration: underline;
color: Silver;
}
a:active {
text-decoration: none;
color: Silver;
}
这样就 够了,然后在head标签中写
<link href="Alink.css" rel="stylesheet" type="text/css">