Thread: table - cell hyperlinking
Results 1 to 4 of 4
05-29-2003, 10:23 AM #1
table - cell hyperlinking
I have a rather simple HTML question to ask.
Is it possible to make an entire cell within a table hyperlink reference rather than just the contents of that.
Taking the folllowing as an example:-
it would seem logical that this would work..
But it doesnt , and I dont want to use:-
<td><a href="blank.html"><img src="whatever.png"></a></td>
As the table is being populated with non standard figures from a Java routine.
So is there a way of doing it, or not?
05-29-2003, 01:25 PM #2
The anchor tag requires either the <a href=.... or <anchor href=... format. How would the browser know that what you are specifying is a link?
Why not use it the way you don't want? What problem does that correct format present?
05-29-2003, 01:40 PM #3
Here is a simple, one cell example -
<table name="badger"> <tr> <td class="row1" width="100%" style="cursor:hand; padding: 30px; border: 1px solid black;" onMouseOver="this.style.backgroundColor='black'" onMouseOut="this.style.backgroundColor=''" onclick="window.location.href='linked_page.html'">THIS IS CONTENT</td> </tr> </table>If one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
05-29-2003, 02:53 PM #4