By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,786 Members | 2,241 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,786 IT Pros & Developers. It's quick & easy.

Help td cell expands when clicked

P: 1
Can anyone help me with this, I have a linked image in a tale cell and whenever I click on the image it expands, not only that I have to click on it again to get the link to go.

These are the culprits
[html]
<td><a href="" onclick="right2();return false"><img src="right.gif" width="16">

<td ><a href="" onclick="left2();return false"> <img src="left.gif"width="16">
</a> </td>


<div >
<table style="width:570px;">
<tbody>
<tr>

<td height="100%" valign="top" style="width:560px;">
<table border="0" cellpadding="0" cellspacing="0" height="25" width="100%">
<tbody>
<tr bgcolor="#0099FF" class="rowstyle">
<td width="1"><img src="mangaviewer/spacer.gif" width="1"></td>
<td valign="middle" width="5"><img src="mangaviewer/resultspine.gif" hspace="5"></td>
<p><script type="text/javascript" src="mangaviewer/jscript.js">
</script></p>
<form action="/wordpress/wordpress/index.php?page_id=3" method="post" name="pageSelector1">
<input type="hidden" name="manga_hid" value="">
<input type="hidden" name="chapter_hid" value="">
<input type="hidden" name="image_hid" value="">
<td valign="middle">&nbsp;Manga&nbsp;</td>
<td valign="middle">
<select class="selectmanga" name="manga_select" onchange="DisplayPageSelectorOnChange1('manga_sele ct')"><option value="dragonball z" selected="selected">dragonball z</option><option value="naruto" >naruto</option><option value="one piece" >one piece</option><option value="zach bell" >zach bell</option></select>

</td>
<td >&nbsp;Chapter&nbsp;</td>
<td>
<select class="selectchapter" name="chapter_select" onchange="DisplayPageSelectorOnChange2( this )" ><option value="2" >Freiza the monster!</option><option value="3" selected="selected">Vegeta Attacks!</option><option value="4" >cell saga</option></select>
</td>
<td valign="middle" width="5">
<img src="mangaviewer/resultspine.gif" ></td>
<td ><a href="" onclick="left1();return false"> <img src="left.gif" width="16"></a> </td>
<td valign="middle">&nbsp;Page&nbsp;</td>
<td valign="middle" style="width: 20px">

<select name="pagesel1" class="selectpage" onchange="DisplayPageSelectorOnChange3( this )"> <option value="2" >1</option><option value="3" selected="selected"> 2 </option><option value="4" >3</option><option value="5" >4</option><option value="6" >5</option></select>
</td>
</form>
<td valign="middle">&nbsp;of&nbsp;5&nbsp;</td>
<td align="middle"><a href="" onclick="right1();return false"><img src="right.gif" width="16"></a></td>
<td width="15"><img src="mangaviewer/resultspine.gif"></td>
</tr>
</tbody>

</table>
<div style=" width:330px; min-height: 780px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<div style="z-index: 200; width: 570px;" ><a href="" onclick="right1();return false"><img src="p03.jpg" width="570" height="875" style="border: none;margin-left:-6px;" ></a></div>
</div>
<table border="0" cellpadding="0" cellspacing="0" height="5" width="100%" style="margin-top:-5px;height: 25px;">
<tbody>
<tr bgcolor="#0099FF" class="rowstyle">
<td width="1"><img src="mangaviewer/spacer.gif" width="1"></td>
<td valign="middle" width="5"><img src="mangaviewer/resultspine.gif" hspace="5"></td>
<form action="/wordpress/wordpress/index.php?page_id=3" method="post" name="pageSelector2">
<td class="labelBold" valign="middle">&nbsp;Manga&nbsp;</td>
<td class="labelData">
<select name="manga_select2" onchange="DisplayPageSelectorOnChange10( this )" class="selectmanga"> <option value="dragonball z" selected="selected">dragonball z</option><option value="naruto" >naruto</option><option value="one piece" >one piece</option><option value="zach bell" >zach bell</option></select>

</td>
<td >&nbsp;Chapter&nbsp;</td>
<td>
<select name="chapter_select2" onchange="DisplayPageSelectorOnChange20( this )" class="selectchapter"><option value="2" >Freiza the monster!</option><option value="3" selected="selected">Vegeta Attacks!</option><option value="4" >cell saga</option></select>
</td>
<td valign="middle" width="5">
<img src="mangaviewer/resultspine.gif" hspace="5"></td>
<td ><a href="" onclick="left2();return false"> <img src="left.gif" width="16" ></a> </td>
<td valign="middle">&nbsp;Page&nbsp;</td>
<td valign="middle" style="width: 20px">

<select name="pagesel2" class="selectpage" onchange="DisplayPageSelectorOnChange30( this )"> <option value="2" >1</option><option value="3" selected="selected"> 2 </option><option value="4" >3</option><option value="5" >4</option><option value="6" >5</option></select>
</td>
</form>
<td valign="middle" >&nbsp;of&nbsp;5&nbsp;</td>
<td><a href="" onclick="right2();return false"><img src="right.gif" width="16"></a></td>
<td ><img src="mangaviewer/resultspine.gif"></td>
</tr>
</tbody>

</table>
</td>
</tr>
</tbody>
</table>
</div>[/html]
Oct 13 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.