I would like a table cell to act as my hyperlink. What I have currently is a hyperlink embedded in a table cell, hence it is only when the exact underlined hyperlink text is clicked that the url is obeyed. But not when you click anywhere else. [e.g clickMe ] In the example, the url only works where I click on "Click Me" and not anywhere on the table cell. Please, a helping hand is needed.
Hi there.
If you try to code it like this :
My link here
your code may not validate, or result in another error.
Do you have something else apart from text link inside your cell?
In case you have some short text, e.g. "Click here" and your cell is wither or higher than this text, you can make one of the following:
Case 1 - your text is wide as wide as the cell is, however it is not that high - you can set it like this with css:
[HTML]... Click me! ...[/HTML]
In this way, if your cell is 50px high, and your text size is 12px, wherever you point your cursor - it will change as a link pointer.
Case 2
Well - it si more complex, and if you have any other elements in this cell, like images, additional text, etc. it may turn to be a problem, still you can try it. You can set the following css to your link:
[HTML]...Click me!....[/HTML]
Try it and advise...