Hi There.
How can I put a link into a TD and make the whole TD bgcolor and the color of the link itself to change when the courser is on the link or on the TD area?
Thanks!Since this is a CSS question, you'd use CSS. (That might sound redudant, but there is also a JavaScript way that I've written a tutorial on before, so it makes sense to me. ) IE doesn't accept the :hover pseudo-class, so you'll need to use Vladdy's fix (<!-- m --><a class="postlink" href="http://www.vladdy.net/Demos/IEPseudoClassesFix.html">http://www.vladdy.net/Demos/IEPseudoClassesFix.html</a><!-- m -->) for it. This should explain everything to you, use something like the following to make links change color on hover.
td a:hover {
color: red;
}exsample of that?
ThanksOriginally posted by weee
exsample of that?
Did you see the bottom of Vladdy's page, which I linked to? It has an example of the rollover TD's, and I gave you code to change the color of your hover links. Try putting it together, and if you need help, just reply with whatever the question is.
How can I put a link into a TD and make the whole TD bgcolor and the color of the link itself to change when the courser is on the link or on the TD area?
Thanks!Since this is a CSS question, you'd use CSS. (That might sound redudant, but there is also a JavaScript way that I've written a tutorial on before, so it makes sense to me. ) IE doesn't accept the :hover pseudo-class, so you'll need to use Vladdy's fix (<!-- m --><a class="postlink" href="http://www.vladdy.net/Demos/IEPseudoClassesFix.html">http://www.vladdy.net/Demos/IEPseudoClassesFix.html</a><!-- m -->) for it. This should explain everything to you, use something like the following to make links change color on hover.
td a:hover {
color: red;
}exsample of that?
ThanksOriginally posted by weee
exsample of that?
Did you see the bottom of Vladdy's page, which I linked to? It has an example of the rollover TD's, and I gave you code to change the color of your hover links. Try putting it together, and if you need help, just reply with whatever the question is.