CSS问题 [英] CSS issue

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

问题描述

我无法理解为什么每次都没有得到相同的结果

简单的东西。

我在自己的网站上使用css页面进行格式化, www.ricrusso.com

我的链接应为绿色(他们是。)

但是,当它们悬停时它们也应该被覆盖并且被覆盖。

只有一些链接可以做到。我不知道为什么。


这是一个例子:
http://www.ricrusso.com/sub/pc/pctips.htm


大多数链接都有在线下/线上但如果你将链接徘徊在

列表中,你会发现一些不合规的。我没有添加任何

覆盖代码来导致此问题。

提前致谢,

Ric

I cannot understand why I don''t get the same result every time on
something simple.
I use a css page for formatting on my own site, www.ricrusso.com.
My links should be green (which they are).
However, they should also be under and overlined when hovering.
Only some links do it. I don''t know why.

Here is an example:
http://www.ricrusso.com/sub/pc/pctips.htm

Most links have the under/over line but if you hover down the link
list, you will find some that don''t comply. I have not added any
overriding code to cause this.
Thanks in advance,
Ric

推荐答案

ricrusso写道:
ricrusso wrote:
我无法理解为什么每次都没有得到相同的结果
简单。
我使用css页面在我自己的网站上进行格式化, www.ricrusso.com
我的链接应该是绿色的(它们是绿色的)。
但是,当它们悬停时它们也应该被覆盖和覆盖。
只有一些链接可以做到。我不知道为什么。

这是一个例子:
http://www.ricrusso.com/sub/pc/pctips.htm

大多数链接都有下线/下线但如果你盘旋在链接
列表中,你会发现一些不遵守的。我没有添加任何
覆盖代码来引起这种情况。
提前致谢,
Ric
I cannot understand why I don''t get the same result every time on
something simple.
I use a css page for formatting on my own site, www.ricrusso.com.
My links should be green (which they are).
However, they should also be under and overlined when hovering.
Only some links do it. I don''t know why.

Here is an example:
http://www.ricrusso.com/sub/pc/pctips.htm

Most links have the under/over line but if you hover down the link
list, you will find some that don''t comply. I have not added any
overriding code to cause this.
Thanks in advance,
Ric



是的,你添加了覆盖代码导致了这个问题。

首先你告诉一个:悬停要有

文字装饰:下划线;


然后你告诉:访问过来

text-decoration:none;


状态必须以正确的顺序定义。这是订单,

从您必须首先定义的那个开始:


1.链接

2.访问

3.悬停

4.活跃



Yes you have added overwriteing code that has caused this.
first you tell a:hover to have have
text-decoration: underline overline;

Then you tell a:visited to have
text-decoration: none;

The states must be defined in the correct order. Here is the order,
starting with the one you must define first:

1. link
2. visited
3. hover
4. active



" ricrusso" < TI ** @ ricrusso.com>在消息中写道

news:11 ********************** @ g44g2000cwa.googlegr oups.com ...
"ricrusso" <ti**@ricrusso.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
我无法理解为什么每次都没有得到相同的结果
简单的东西。
我在自己的网站上使用css页面进行格式化, www.ricrusso.com
我的链接应该是绿色的(它们是)。
但是,当悬停时,它们也应该被覆盖并且被覆盖。
只有一些链接可以做到。我不知道为什么。

这是一个例子:
http://www.ricrusso.com/sub/pc/pctips.htm
I cannot understand why I don''t get the same result every time on
something simple.
I use a css page for formatting on my own site, www.ricrusso.com.
My links should be green (which they are).
However, they should also be under and overlined when hovering.
Only some links do it. I don''t know why.

Here is an example:
http://www.ricrusso.com/sub/pc/pctips.htm




使用WindowsXPpro(sp2 )

IE6 - 一切正常

Opera - 一切正常

Firefox - 一切正常


哪个链接没有正常工作?你发布了

消息后修复了吗?



Using WindowsXPpro(sp2)
IE6 - all OK
Opera - all OK
Firefox - all OK

Which links didn''t work properly? Have you fixed it since posting your
message?


Danny @ Kendal写道:
Danny@Kendal wrote:
" ricrusso" < TI ** @ ricrusso.com>在消息中写道
新闻:11 ********************** @ g44g2000cwa.googlegr oups.com ......
"ricrusso" <ti**@ricrusso.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
我无法理解为什么每次都没有得到相同的结果
简单的东西。
我在自己的网站上使用css页面进行格式化, www.ricrusso.com
我的链接应该是绿色的(它们是)。
但是,当悬停时,它们也应该被覆盖并且被覆盖。
只有一些链接可以做到。我不知道为什么。

这是一个例子:
http://www.ricrusso.com/sub/pc/pctips.htm
I cannot understand why I don''t get the same result every time on
something simple.
I use a css page for formatting on my own site, www.ricrusso.com.
My links should be green (which they are).
However, they should also be under and overlined when hovering.
Only some links do it. I don''t know why.

Here is an example:
http://www.ricrusso.com/sub/pc/pctips.htm



使用WindowsXPpro(sp2)
IE6 - 一切正常
Opera - 一切正常
Firefox - 一切正常

哪些链接无法正常工作?你发布了
消息后修好了吗?


Using WindowsXPpro(sp2)
IE6 - all OK
Opera - all OK
Firefox - all OK

Which links didn''t work properly? Have you fixed it since posting your
message?



如果你访问其中一个链接然后重新加载页面,你会看到

当您将鼠标悬停在其上时,访问过的链接没有行。


If you visit one of the links and then reload the page, you wil see that
the visited link does not have lines when you hover over it.


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

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