Hi, I have a couple of images in cells of a table, as well as some text in another table cell.
I want the text to change colour when I hover over an image. Is this possible? Can CSS change the formatting of an object that it doesn't directly apply to?
Also, how can I make the whole table clickable and point to the same link? I tried the code below but only the border of the table is clickable.
---------------------------
<a class="class1" href="myLink.html">
<table>
<tr>
<td><img src="image1.jpg"></td>
</tr>
<tr>
<td>This is my content text.</td>
</tr>
<tr>
<td><img src="image2.jpg"></td>
</tr>
</table>
</a>
---------------------------
Any ideas?
Thx,
May
I want the text to change colour when I hover over an image. Is this possible? Can CSS change the formatting of an object that it doesn't directly apply to?
Also, how can I make the whole table clickable and point to the same link? I tried the code below but only the border of the table is clickable.
---------------------------
<a class="class1" href="myLink.html">
<table>
<tr>
<td><img src="image1.jpg"></td>
</tr>
<tr>
<td>This is my content text.</td>
</tr>
<tr>
<td><img src="image2.jpg"></td>
</tr>
</table>
</a>
---------------------------
Any ideas?
Thx,
May