简单的表格行突出显示 - 鼠标悬停 [英] Simple table row highlighting - on mouseover

查看:263
本文介绍了简单的表格行突出显示 - 鼠标悬停的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



任何人都可以指出我可能会找到一个简单的编码示例

实现鼠标移动时表格行改变颜色的效果

超过它?假设对于单个表格可能有相同的效果

单元格?


感谢您的任何指示。


-


jeremy


Can anyone point me to where I might find a simple example of coding to
achieve the effect of a table row changing colour as the mouse moves
over it? Presume the same effect may be possible for an individual table
cell?

Thanks for any pointers.

--

jeremy

推荐答案

在comp.infosystems中。 www.authoring.html 杰里米说:
In comp.infosystems.www.authoring.html Jeremy said:
任何人都可以指点我在哪里我可以找到一个简单的编码示例,以便在鼠标移动时实现表行改变颜色的效果?


tr:悬停{color:lime;背景:红色;}

假设单个表格单元格的效果可能相同吗?
Can anyone point me to where I might find a simple example of coding to
achieve the effect of a table row changing colour as the mouse moves
over it?
tr:hover{color:lime;background:red;}
Presume the same effect may be possible for an individual table
cell?




td:悬停{color:red; background:lime;}

主要由旧的过时浏览器不支持羊。


-

voices



td:hover{color:red;background:lime;}

not supported by old outdated browsers primarily used by sheep.

--
v o i c e s


Jeremy schrieb:
Jeremy schrieb:
任何人都可以指出我可能会找到一个简单的编码示例,以便在鼠标移动时实现表行更改颜色的效果吗?假设对于单个表格单元格可能有相同的效果吗?
Can anyone point me to where I might find a simple example of coding to
achieve the effect of a table row changing colour as the mouse moves
over it? Presume the same effect may be possible for an individual table
cell?




tr:hover td {background:#f00;颜色:#00f;}


应该做的伎俩。当然只有在现代浏览器中。


Jan


-

早起,早到床,让一个人健康,社交死亡。



tr:hover td {background:#f00; color:#00f;}

Should do the trick. Only in modern Browsers of course.

Jan

--
"Early to rise, early to bed, makes a man healthy and socially dead."


Jeremy写道:
任何人都可以指出我可能会找到一个简单的例子当鼠标移动时,编码以实现表行改变颜色的效果?假设单个表格单元格的效果可能相同吗?
Can anyone point me to where I might find a simple example of coding to
achieve the effect of a table row changing colour as the mouse moves
over it? Presume the same effect may be possible for an individual table
cell?



http://tranchant.plus.com/tmp/trhl


无法在IE上工作。


-

马克。
http://tranchant.plus.com/


这篇关于简单的表格行突出显示 - 鼠标悬停的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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