First, why are you using tables?
Rather than putting the logo in as a background image, put the logo image on the page and wrap it in the <a> tags. If you do that, make sure that the image has proper alt text.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Hey guys,
see this following coding
There is a image logo2.png
I want it to add hyperlink to the image .. but i am not able to do it.. plz help me
Code:
<td background="{THEME}/images/logo2.png"></td>
You can bind JS action to td as onClick, or put a tag inside td and stretch it with CSS to width&height=100%, also make sure to display it as block element.
__________________
My Seo blog - Please login or register to view this content. Registration is FREE
Don't use JS for the click if it is literally is just for linking to the home page. Just use the a element. I agree with the above, why are you using tables at all for this sort of thing? Steer clear.
You can bind JS action to td as onClick, or put a tag inside td and stretch it with CSS to width&height=100%, also make sure to display it as block element.
This is a horrible way. Not only does it disregard web standards. But it also makes the link un clickable for those with JS disabled.
OP: I suggest you move away from using tables. And go read up on w3 compliance.