You are here: Re: Hyperlink for entire table cell rather then just the text - how is it done? « HTML « IT news, forums, messages
Re: Hyperlink for entire table cell rather then just the text - how is it done?

Posted by David Smithz on 12/10/06 11:58

"Andrew Bailey" <andy@idontwantanyspam.com> wrote in message
> Hi David,
>
> Just put a nested <div> inside your anchor like this....
>
> <div id="ExBox1" class="ExBox">
>
> <table style="width:100%; height:100%; border:0px; padding:0px;">
> <tr>
> <td style="text-align:right; vertical-align:bottom; height:100%;
> "><a href="./index.htm"><div height="100%"> URL TO FOLLOW. I WANT TO BE
> ABLE TO CLICK ANYWHERE
> IN TABLE CELL,, NOT JUST THE ACTUAL TEXT </div></a></td>
> </tr>
> </table>
>
> </div>
> Hope that helps

Hi Andy,
I tried this with excitiement but unfortunetly it did not work for me making
no difference. Is there perhaps something else I have to set?

I event tried setting the height as a style instead of an attribute (style="
height:100%") but with no luck.

In fact embedding the div like you said actually changes the behaviour of
the mouse cursor when moving over the text. Rather then displaying the
pointing finger for a URL (desirable) it instead shows a text editing cursor
(not desirable).

Thanks for any more input.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация