现在看起来像: [html] < tr> < td height =" 42" class =" frontboxtextandline">< a href ="#">功能,选项 & amp;规格< / a>< / td> < / tr> < tr> < td height =" 42'; class =" frontboxtextandline">< a href ="#">互动产品 示范< / a>< / td> < / tr> [/ html] [css] ..frontboxtextandline a:悬停{ 字体-family:Arial,Helvetica,sans-serif; 字体大小:12px; 颜色:#000000; vertical-align:中间; 背景颜色:fac9a2; text-decoration:none; } ..frontboxtextandline a:link { font-family:Arial,Helvetica,sans-serif; font-size:12px; 颜色:#000000 ; vertical-align:middle; text-decoration:none; } [/ css] 只为鼠标悬停的文字上色,但我想为整个 单元格上色。谢谢! - chEErs roN 我是根,我被允许这样做! ;) 继续摇滚'' Hi, I have a table with some links in it and I would like to color the wholecell when someone is moving his cursor over it, how can i do that, rightnow it looks like:[html]<tr><td height="42" class="frontboxtextandline"><a href="#">Features, Options& Specifications</a></td></tr><tr><td height="42" class="frontboxtextandline"><a href="#">Interactive ProductDemonstration</a></td></tr>[/html][css]..frontboxtextandline a:hover{font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #000000;vertical-align: middle;background-color: fac9a2;text-decoration:none;}..frontboxtextandline a:link{font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #000000;vertical-align: middle;text-decoration:none;}[/css]which colors just the text on mouse-over but i''d like to color the wholecell. Thank you!--chEErs roN I''m root, I''m allowed to do this! ;)keep on rockin''推荐答案 roN写道: roN wrote: 我有一个带有一些链接的表格,当有人将光标移到它上面时,我想给整个单元格上色,我怎么能这样做,现在它看起来像: Hi, I have a table with some links in it and I would like to color the whole cell when someone is moving his cursor over it, how can i do that, right now it looks like: [snip] 看起来像一个列表,而不是一组表格数据。列表可以很好地设计: http://css.maxdesign.com .au / listamatic / - David Dorward< http://blog.dorward.me.uk/> < http://dorward.me.uk/> Home是〜/ .bashrc的位置 [snip] Looks like a list, not a set of tabular data. Lists can be nicely styled: http://css.maxdesign.com.au/listamatic/ --David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>Home is where the ~/.bashrc is David Dorward写道: David Dorward wrote: roN写道: roN wrote:我有一张桌子,上面有一些链接,我想给整个上色当有人将光标移到它上面时,我怎么能这样做,现在它看起来像是: Hi, I have a table with some links in it and I would like to color the whole cell when someone is moving his cursor over it, how can i do that, right now it looks like: [snip] 看起来像列表,而不是一组表格数据。列表可以很好地设计: http://css.maxdesign.com .au / listamatic / 哦不,我要带桌子,因为我还有其他一些东西,我是 需要像桌子一样定义,桌子上没有办法吗? - chEErs roN 我根,我被允许这样做! ;) 继续摇滚'' Oh no, I gotta take tables because I have some other things in there which Ineed defined like a table, is there no way doin'' it by tables?--chEErs roN I''m root, I''m allowed to do this! ;)keep on rockin'' roN写道: roN wrote: David Dorward写道: David Dorward wrote: roN写道: roN wrote:我有一个表格,里面有一些链接,我想给整个单元格上色当有人将光标移到它上面时,我该怎么做呢,现在它看起来像是: Hi, I have a table with some links in it and I would like to color the whole cell when someone is moving his cursor over it, how can i do that, right now it looks like: [snip] 看起来像列表,而不是一组表格数据。列表可以很好地设计: http://css.maxdesign.com .au / listamatic / 哦不,我要拿桌子,因为我还有其他的东西,我需要像桌子那样定义,是吗没法用桌子做什么? Oh no, I gotta take tables because I have some other things in there which I need defined like a table, is there no way doin'' it by tables? 你可以用完整的东西: http://paykiosks.net/new/mockup/new_index.htm - chEErs roN 我是根,我被允许这样做! ;) 继续摇滚'' There you go with the whole thing: http://paykiosks.net/new/mockup/new_index.htm--chEErs roN I''m root, I''m allowed to do this! ;)keep on rockin'' 这篇关于悬停表颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-18 16:28