![]() |
Is it possible to make everything inside a table or div a single link?
Have never been able to figure out a way to do this, but its often needed. When you do a gallery or freesite you are limited with the number of links you can have. So if you slice up a large image it fucks your ability to make it all one link (to the sponsor), or at least i think it does. I know you can make multiple items a single link, but only if they are inside the same cell. But when you slice something up you have multiple cells. Here is an example of a sliced image and some text below it, is there a way to make the entire table contents (in other words, the entire displayed image and the text below it) a single link?
<table align="center" width="590" height="205" border="0" cellpadding="0" cellspacing="0"> <tr> <td rowspan="2"><img src="s_01.gif" width="300" height="205"></td> <td rowspan="2"><img src="s_02.jpg" width="140" height="205"></td> <td colspan="2"><img src="s_03.gif" width="150" height="96"></td> </tr> <tr> <td><img src="s_04.jpg" width="29" height="109"></td> <td><img src="s_05.gif" width="121" height="109"></td> </tr> <tr> <td colspan="4" align="center">TEXT COPY GOES HERE</td> </tr> </table> |
<table onClick="window.location.href='http://www.gofuckyourself.com'";>
It works in IE, haven't tried anything else. Will some scripts catch and refuse this? I dunno.. |
Quote:
|
All times are GMT -7. The time now is 07:13 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123