Table Row Anchor

Not valid to wrap a TR element in an anchor, but what's the best way to make a row into a link
Date Created: 31st March 2008
Date Modified: 31st March 2008
Home > HTML > Table Row Anchor

Connected with WebmasterWorld HTML forum:
http://www.webmasterworld.com/php/3615221.htm (and this one from 2004: http://www.webmasterworld.com/forum21/7668.htm

It works, the whole table row is a hyperlink, i need to tell the cursor to be a hand when i hover over it but the link works, the question is why will it not allow me to copy the contents of the row or even highlight it, it seems treat the row almost like an image

I think you need to test it a bit more. 'It works' in IE6/7 so much as the href is followed, but as you have found you can't select the text, nor does it visually behave like an anchor. It does not work at all in Firefox, Opera or Safari. Probably because it is not valid HTML and this is also stated in the thread above.

I don't think you can reasonably start to figure out why something isn't working when the HTML itself is invalid. Step 1 - valid HTML. ([url=http://validator.w3.org/]W3C HTML Validator[/url])

OneTwoThree
UneDueTroi
SatuDuaTiga

[Home]