Forum Moderators: coopster
i have a weird problem
actually i include a file in an other php file
<td width="190" align="right" valign="top" class="textsmall">
<? include("login.php");?>
</td>
in dreamweaver theres no spacebetween this and the other <TD>
but when i look at it in IE the like a <br> just under the
<? include("login.php");?>
i think its probably a <form> problem but there is any way i could control this?
here is the login.php code
<form name="form1" method="post" action="" class="textsmall">
<table width="185" height="92" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="1" background="images/greenline.gif"><img src="images/greenline.gif" width="1" height="1"></td>
<td valign="top"><table width="184" height="92" border="0" cellpadding="1" cellspacing="1">
<tr>
<td colspan="2" align="center" class="textsmall"><strong>votre compte
site-clicks</strong></td>
</tr>
<tr>
<td class="textsmall">identifiant</td>
<td align="center"> <input name="textfield" type="text" size="15" class="textsmall"></td>
</tr>
<tr>
<td class="textsmall">mot de passe</td>
<td align="center"> <input name="textfield2" type="password" size="15" class="textsmall"></td>
</tr>
<tr>
<td> </td>
<td align="center" class="textsmall"> <input type="submit" name="Submit" value="Submit" class="textsmall">
</td>
</tr>
<tr>
<td colspan="2" align="center" class="textsmall">mot de passe perdu?</td>
</tr>
</table></td>
</tr>
</table></form> thats it can u help me?
Hanging <td>s and unwarranted spaces may cause issues. Change the above to...
<td> </td>
<td align="center" class="textsmall"><input type="submit" name="Submit" value="Submit" class="textsmall"></td>
Try not to let your tags break. In fact, I force all of my tags on one line so there are no issues such as this. Normally it is the </p> and </td> tags hanging that cause these invisible <br> that you are referring to.
[edited by: pageoneresults at 6:53 pm (utc) on Aug. 20, 2003]