How do I make a table cell clickable to a URL in CSS?
Oct.19, 2006 in
CSS
youroutsider asked:
How do I make a table cell clickable to a URL in CSS? I can make the text linkable of course and the background color to change on hover, but I want the entire cell to be clickable to send a user to another URL. Is this possible? Thanks
javiers answer worked for the row the link was in, BUT, i need the entire cell to work as a link, not just the row where the link is. I have :
A link
Then text underneath.
I need the entire cell holding the link and text to be clickable. 🙁
Custom Search
October 21st, 2006 at 3:30 am
absolutely. change your tag to:
October 22nd, 2006 at 1:50 am
That won’t work with CSS. You’ll need javascript, and I believe this is what you want.
test
and test me too.
October 22nd, 2006 at 8:39 am
just resize the anchor tag to the same dimensions as the table cell.
Sample Code: