<tr> link problem in chrome and firefox

Reply

Join Date: Sep 2009
Posts: 1
Reputation: scorpx is an unknown quantity at this point 
Solved Threads: 0
scorpx scorpx is offline Offline
Newbie Poster

<tr> link problem in chrome and firefox

 
0
  #1
Sep 2nd, 2009
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...
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 348
Reputation: Troy III will become famous soon enough Troy III will become famous soon enough 
Solved Threads: 42
Troy III's Avatar
Troy III Troy III is offline Offline
Posting Whiz

Re: <tr> link problem in chrome and firefox

 
0
  #2
Sep 2nd, 2009
Originally Posted by scorpx View 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...
Your code works fine on my firefox 3.5.2 /windows OS, - what OS are you using?
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 79
Reputation: rudevils is an unknown quantity at this point 
Solved Threads: 9
rudevils rudevils is offline Offline
Junior Poster in Training

Re: <tr> link problem in chrome and firefox

 
0
  #3
Sep 4th, 2009
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>
If love is blind, why there's a bikini ??

Post your article at Bali Side Notes share your knowledge
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 1,395
Reputation: almostbob has a spectacular aura about almostbob has a spectacular aura about almostbob has a spectacular aura about 
Solved Threads: 170
almostbob's Avatar
almostbob almostbob is offline Offline
Nearly a Posting Virtuoso

Re: <tr> link problem in chrome and firefox

 
0
  #4
Sep 4th, 2009
  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.
Failure is not an option It's included free, you don't have to do anything to get it
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it

Please mark solved problems, solved
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 734 | Replies: 3
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC