PDA

View Full Version : Forms in Tables


niko
04-23-2004, 02:43 PM
Im using PHP and mysql,

when i create a table that has a form in one of the columns and a reapeat region wraped around it the spacing when preiew in IE, has increased the spacing any ideas what it could be,

ive checked the tags and they are all okay.

Below is the code from one of the delete pages.

</tr>
<?php do { ?>
<tr>
<td class="normalText"><?php echo $row_rsAllRelated['relatedTitle']; ?></td>
<td class="normalText"><?php echo time_format($row_rsAllRelated['relatedDateAdded']); ?></td>
<td><form action="" method="post" name="frmDelete" id="frmDelete">
<input name="submit" type="image" id="submit" src="/images/common/bin.jpg" alt="Click here to delete PDF" width="14" height="15" onClick="GP_popupConfirmMsg('Delete Document confirmation. \r\rDo you want to delete?');return document.MM_returnValue">
<input name="hddRelatedId" type="hidden" id="hddRelatedId" value="<?php echo $row_rsAllRelated['relatedId']; ?>">
</form></td>
</tr>
<?php } while ($row_rsAllRelated = mysql_fetch_assoc($rsAllRelated)); ?>
<tr>

firepages
04-23-2004, 03:00 PM
its a HTML question not a PHP one, post your output which is what IE sees not your PHP code which simply generates it.

pb&j
04-24-2004, 04:09 AM
try adding this to the starting form tag...
style="margin:0px;"