保持访问值相同? [英] Keeping Visited Values the Same ?

查看:55
本文介绍了保持访问值相同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何指定悬停值和链接值,如果已经访问了链接

则保留它们?


如果我设置了访问过的链接,悬停选项超限 - ??

How can I assign a hover value and a link value, and maintain them if
the link has been visited ?

If I set up a visited link, the hover option is overrun - ??

推荐答案

Hey M. Kinstlinger,


否这很简单。其实很容易。你所要做的只是使用访问过的

psuedo类。


我会为你制作一个模型!这里是CSS代码(放在你的外部

CSS文档或< head>标签中:


/ *创建字体,字体超链接的大小和字体颜色* /

a:link {

font-family:Verdana,Arial,Helvetica,sans-serif;

font-size:10px;

颜色:#ff9900;

}

/ *创建字体,字体大小和字体颜色超链接,如果

访问* /

a:访问{

font-family:Verdana,Arial,Helvetica,sans-serif;

字体大小:10px;

颜色:#ff9900;

}

/ *创建字体,字体大小当

鼠标当前被推送时超链接的字体颜色* /

a:active {

font-family:Verdana,Arial, Helvetica,sans-serif;

字体大小:10px;

颜色:#ff9900;

}

/ *创建超链接的字体,字体大小和字体颜色

鼠标悬停在它上面* /

a:hover {

font-family:Verdana,Arial,Helvetica,sans-serif;

字体大小:10px;

颜色:#ff9900; <现在只需在您的文档中添加XHTML:


< a href =" www。
}


现在只需在文档中添加XHTML: google.com">点击此处< / a>

希望这有助于解决您的问题。


最诚挚的问候,

Drew Decker

Hey M. Kinstlinger,

No this is easy. Actually quite easy. All you do is use the visited
psuedo class.

I''ll make a mockup for ya! Here''s the CSS code (put in your external
CSS document or in the <head> tags:

/* Creates the font, font size, and font color of the hyperlink */
a:link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
color:#ff9900;
}
/* Creates the font, font size, and font color of the hyperlink, if
visited */
a:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
color:#ff9900;
}
/* Creates the font, font size, and font color of the hyperlink when
mouse is currently being pushed */
a:active {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
color:#ff9900;
}
/* Creates the font, font size, and font color of the hyperlink when
your mouse is over it */
a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
color:#ff9900;
}

now just add the XHTML in your document:

<a href="www.google.com">Click Here</a>
Hope this helps resolve your problem.

Best Regards,
Drew Decker


在comp.infosystems中。 www.authoring.stylesheets M Kinstlinger说:
In comp.infosystems.www.authoring.stylesheets M Kinstlinger said:
如果我设置了一个访问过的链接,那么悬停选项会超限 - ??
If I set up a visited link, the hover option is overrun - ??



你在错误的订单中使用伪类


a:link

a:visit

a:悬停

a:活跃


-

由brucies表达的事实和意见

littlevoices

不一定是t与brucie持有的相同。



you''re using the pseudo classes in the wrong order

a:link
a:visited
a:hover
a:active

--
the facts and opinions expressed by brucies
l i t t l e v o i c e s
are not necessarily the same as those held by brucie.


2004年11月17日15:32:17 -0800,< dr *********** @ gmail.com>写道:
On 17 Nov 2004 15:32:17 -0800, <dr***********@gmail.com> wrote:
我会为你做一个样机!这是CSS代码

a:链接{
a:已访问{
a:活跃{
a:hover {
I''ll make a mockup for ya! Here''s the CSS code

a:link {
a:visited {
a:active {
a:hover {



问题 - 有效将被悬停推翻。最好的订单(我会包括

焦点)是


链接

访问

焦点

悬停

活跃


拉斯维加斯免费酒店住宿



Problem - Active will be overruled by hover. The best order (I''ll include
focus as well) is

link
visited
focus
hover
active

Las Vegas Free Hotel Accomodations


这篇关于保持访问值相同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆