943,793 Members | Top Members by Rank

Ad:
Sep 2nd, 2009
0

<tr> link problem in chrome and firefox

Expand Post »
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...
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
scorpx is offline Offline
1 posts
since Sep 2009
Sep 2nd, 2009
0

Re: <tr> link problem in chrome and firefox

Click to Expand / Collapse  Quote originally posted by scorpx ...
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?
Reputation Points: 120
Solved Threads: 61
Posting Pro
Troy III is offline Offline
511 posts
since Jun 2008
Sep 4th, 2009
0

Re: <tr> link problem in chrome and firefox

i think its better to use <div> instead of <tr>
maybe it will look like this :
HTML and CSS Syntax (Toggle Plain Text)
  1. <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>
Reputation Points: 10
Solved Threads: 10
Junior Poster in Training
rudevils is offline Offline
80 posts
since Jan 2008
Sep 4th, 2009
0

Re: <tr> link problem in chrome and firefox

html Syntax (Toggle Plain Text)
  1. <tr onclick='open("http://www.google.com/","_blank");'>
  2. <td>google</td>
  3. <td>bla bla</td>
  4. <td>bla bla</td>
  5. </tr>
Last edited by almostbob; Sep 4th, 2009 at 7:16 am.
Reputation Points: 562
Solved Threads: 368
Posting Maven
almostbob is offline Offline
2,970 posts
since Jan 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: whats the best site to host site backup files? thats free?
Next Thread in HTML and CSS Forum Timeline: Position textarea below table





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC