求助:用CSS做有个新闻内容的样式表
发布网友
发布时间:2022-04-21 00:24
我来回答
共3个回答
懂视网
时间:2022-04-21 04:45
同样一个页面在电脑上点击后 会触发a:visited{}
但是用手机访问同一页面 有时候触发有时候不触发
求高人指导
回复讨论(解决方案)
是不是还定义了别的伪类样式?要按L-V-H-A(:link、:visited、:hover、:active)顺序定义a元素的伪类样式。
是不是还定义了别的伪类样式?要按L-V-H-A(:link、:visited、:hover、:active)顺序定义a元素的伪类样式。
a{color:#0053a5;text-decoration:none;}
a:visited{color:#FFA308;}
a:active{color:#f00;}
PC上点击连接后 都可以正常改变颜色
手机上点击链接有的可以改变颜色 有的不可以
热心网友
时间:2022-04-21 01:53
分太少 真不值得浪费时间
td,br,input,select{font-family:ms shell dlg; font-size:9pt; line-height:150%}
p{font-size:14px;line-height:160%}
A:visited {color:#000000; text-decoration:none}
a:hover {color: #0033cc; text-decoration:underline}
a:link { color: #000000; text-decoration:none}
.white {color:#fff; font-size:14px;font-weight:bold; line-height:150%}
.black {color:#000; font-size:14px;font-weight:bold; line-height:150%}
.blue2:visited {color:#C1E0FF; text-decoration:none; font-size:14px;}
.blue2:hover {color: #ffffff; text-decoration:underline; font-size:14px;}
.blue2:link { color: #C1E0FF; text-decoration:none; font-size:14px;}
a.awhite{color:fff}
A.awhite:visited {color:fff; text-decoration:none; }
a.awhite:hover {color: #ccffff; text-decoration:underline; }
a.awhite:link { color: #fff; text-decoration:none;}
.link:visited {color:#ffffff; text-decoration:none; font-size:14px; font-weight:bold;}
.link:hover {color: #ffffff; text-decoration:underline; font-size:14px; font-weight:bold;}
.link:link {color: #ffffff; text-decoration:none; font-size:14px; font-weight:bold;}
.curpostitle:visited {color:#000000; text-decoration:none; font-size:14px; font-weight:bold;}
.curpostitle:hover {color: #ff6600; text-decoration:underline; font-size:14px; font-weight:bold;}
.curpostitle:link {color: #000000; text-decoration:none; font-size:14px; font-weight:bold;}
.tulink:visited {color:#ffffff; text-decoration:none; font-size:14px;}
.tulink:hover {color: #ffffff; text-decoration:underline; font-size:14px;}
.tulink:link { color: #ffffff; text-decoration:none; font-size:14px;}
.blank:visited {color:#000000; text-decoration:none;font-weight:bold;}
.blank:hover {color: #ffffff; text-decoration:none;font-weight:bold;}
.blank:link { color: #000000; text-decoration:none;font-weight:bold;}
.news:visited {color:#000000; text-decoration:none; font-size:14px;}
.news:hover {color: #666666; text-decoration:underline; font-size:14px;}
.news:link { color: #000000; text-decoration:none; font-size:14px;}
.blue:visited {color:#003366; text-decoration:none;font-weight:bold;}
.blue:hover {color: #CC3300; text-decoration:none;font-weight:bold;}
.blue:link { color: #003366; text-decoration:none;font-weight:bold;}
.bigblue{color:#013f88;font-size:14px;font-weight:bold;}
.wipt {WIDTH: 162px}
.tuwhite{color:#ffffff;font-size:12px;font-weight:bold;}
.ArticleTitle{font-size:18px;color:#013f88;font-weight:bold;}
.ArticleContent{font-size:14px;line-height:180%}}
.ListNewClass{background-image:url('../cfs_images/dot.gif');height:18}
.ListColumnClass{background-image:url('../cfs_images/dot.gif');height:18}
.ListRecClass{background-image:url('../cfs_images/dot.gif');height:18}
.TitleClass{font-family:ms shell dlg; font-size:9pt; line-height:150%}
.TitleClass2:visited {color:D8EDFB; text-decoration:none;font-family:ms shell dlg; font-size:9pt; line-height:150%}
.TitleClass2:hover {color: #ccffff; text-decoration:underline; font-family:ms shell dlg; font-size:9pt; line-height:150%}
.TitleClass2:link { color: #D8EDFB; text-decoration:none;font-family:ms shell dlg; font-size:9pt; line-height:150%}
热心网友
时间:2022-04-21 03:11
我有,我的邮箱是sheng200@yahoo.com.cn
你找我,我发给你。