943,862 Members | Top Members by Rank

Ad:
Apr 9th, 2006
0

Cell as LINK

Expand Post »
Hey,

See the code below, The cell color is yellow. Is there any way that if I click anywhere on the CELL where the hyperlink is, it will take me to the same url "http://chargertek.in"





HTML and CSS Syntax (Toggle Plain Text)
  1. <table border="1" width="100%" cellspacing="0" cellpadding="0">
  2. <tr>
  3. <td width="100%" bgcolor="yellow"><a href="http://chargertek.in">Free Web Hosting</a></td>
  4. </tr>
  5. </table>
Similar Threads
Reputation Points: 58
Solved Threads: 1
Posting Whiz in Training
cancer10 is offline Offline
234 posts
since Dec 2004
Apr 9th, 2006
0

Re: Cell as LINK

HTML and CSS Syntax (Toggle Plain Text)
  1. <table border="1" width="100%" cellspacing="0" cellpadding="0">
  2. <tr>
  3. <td width="100%" bgcolor="yellow" onClick="javascript:window.location.href='http://chargertek.in'"><a href="http://chargertek.in">Free Web Hosting</a></td>
  4. </tr>
  5. </table>
Reputation Points: 23
Solved Threads: 16
Posting Whiz in Training
plazmo is offline Offline
206 posts
since Aug 2005

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: Problem with a header
Next Thread in HTML and CSS Forum Timeline: floating problem





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


Follow us on Twitter


© 2011 DaniWeb® LLC