I wanna make all tr to link. use this code

<a href="http://www.google.com/ " target="_blank">
<tr>
<td>google</td>
<td>bla bla</td>
<td>bla bla</td>
</tr></a>it works in IE but don't work in firefox and chrome ?

is there any idea ?

Thanks...

Recommended Answers

I wanna make all tr to link. use this code

<a href="http://www.google.com/ " target="_blank">
<tr>
<td>google</td>
<td>bla bla</td>
<td>bla bla</td>
</tr></a>it works in IE but don't work in firefox and chrome ?

is …

Jump to Post

All 3 Replies

I wanna make all tr to link. use this code

<a href="http://www.google.com/ " target="_blank">
<tr>
<td>google</td>
<td>bla bla</td>
<td>bla bla</td>
</tr></a>it works in IE but don't work in firefox and chrome ?

is there any idea ?

Thanks...

Your code works fine on my firefox 3.5.2 /windows OS, - what OS are you using?

i think its better to use <div> instead of <tr>
maybe it will look like this :

<a href="http://google.com"><div align="center"><span>google</span> <span>google</span> <span>google</span> </div></a>

just make your own style for <div> and <span>

<tr onclick='open("http://www.google.com/","_blank");'>
<td>google</td>
<td>bla bla</td>
<td>bla bla</td>
</tr>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.