a:积极不为我工作 [英] a:active doesnt' work for me

查看:36
本文介绍了a:积极不为我工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨我在运行活动标签时出现问题


i在我的样式表定义中使用


#menu li a:active {

颜色:#8B008B;

}

什么没有用?


使用

#menu li a:访问{

颜色:#8B008B;

}

显示正确的事情。


浏览器如何知道活动链接是什么?

为什么它不显示活动链接。

解决方案

Wilhelm Kutting写道:

嗨我运行活动标签时遇到问题

我在样式表定义中使用

#menu li a:活跃{
颜色:#8B008B;
}
什么没有用呢

使用
#menu li a:访问{
颜色:#8B008B;
}
显示正确的事情。

浏览器如何知道活动链接是吗?
为什么它没有告诉我活跃的事情。


仅在您点击它的那一刻才有效。

您是否已将样式表中的订单设置为

链接

访问

hover

活跃




-

Els http://locusmeus.com/

Sonhos vem。 Sonhos v?o。 Orestoébritfeito。

- Renato Russo -

现在播放:现状 - 驾驶我的车(现场)


< blockquote>

" Els" < EL ********* @ tiscali.nl>在消息中写道

news:Xn ***************** @ 130.133.1.4 ...

Wilhelm Kutting写道:



[snip]

浏览器如何知道活动链接是什么?
为什么它没有向我展示活跃的东西。



活跃的只是你点击它的那一刻。




除非你用键盘给它一个焦点,在这种情况下它应该是

激活,直到它失去焦点。


Harlan Messinger写道:

" Els" < EL ********* @ tiscali.nl>在消息中写道
新闻:Xn ***************** @ 130.133.1.4 ...

Wilhelm Kutting写道:


[snip]

>浏览器如何知道活动链接是什么?
>为什么它没有向我展示活跃的东西。



活跃的只是你点击它的那一刻。



除非你给它是键盘的焦点,其中它应该是活动的,直到它失去焦点。




嗯..我只是在我自己尝试过网站,但使用

键盘进行选项卡并没有触发a:活动风格。


-

Els http://locusmeus.com/

Sonhos vem。 Sonhos v?o。 Orestoébritfeito。

- Renato Russo -

现在玩:门 - 我看着你


Hi i got a problem running the active tag

i use in my stylesheet definition

#menu li a:active{
color: #8B008B;
}
What didt''t work out

Using
#menu li a:visited{
color: #8B008B;
}
shows the right thing.

How does the Browser know what the active Link is?
And why does it not show me the active thing.

解决方案

Wilhelm Kutting wrote:

Hi i got a problem running the active tag

i use in my stylesheet definition

#menu li a:active{
color: #8B008B;
}
What didt''t work out

Using
#menu li a:visited{
color: #8B008B;
}
shows the right thing.

How does the Browser know what the active Link is?
And why does it not show me the active thing.



active is only the moment you''re clicking it.
Have you set the order in your stylesheet to
link
visited
hover
active
?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos v?o. O resto é imperfeito.
- Renato Russo -
Now playing: Status Quo - Drive My Car (live)



"Els" <el*********@tiscali.nl> wrote in message
news:Xn*****************@130.133.1.4...

Wilhelm Kutting wrote:


[snip]

How does the Browser know what the active Link is?
And why does it not show me the active thing.



active is only the moment you''re clicking it.



Unless you give it the focus with the keyboard, in which case it should be
active until it loses the focus.


Harlan Messinger wrote:

"Els" <el*********@tiscali.nl> wrote in message
news:Xn*****************@130.133.1.4...

Wilhelm Kutting wrote:


[snip]

> How does the Browser know what the active Link is?
> And why does it not show me the active thing.



active is only the moment you''re clicking it.



Unless you give it the focus with the keyboard, in which
case it should be active until it loses the focus.



Hmm.. I just tried that on my own site, but tabbing with the
keyboard doesn''t trigger the a:active styles at all.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos v?o. O resto é imperfeito.
- Renato Russo -
Now playing: The Doors - I Looked At You


这篇关于a:积极不为我工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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