bluey83
07-25-2006, 05:22 AM
I have a form which is situated within a td cell in a table. I can't seem to be able to adjust the size of the input field though. It looks ok within Dreamweaver but not in the browser. What is the best way to fix this. Alos I orginally had this form in a table of it's own but I took it out. Was I right to to do this?
My code looks like this:
<tr>
<td width="20"> </td>
<td width="142" height="130" class="bgcol">
<img src="../images/loghead.gif" />
<form action="BrokerLogin.aspx?location=index" method=post>
<span>Email:</span>
<br />
<input type=text name=txtEmail maxlength="44" width="100"/>
<br />
<span>Password:</span>
<br />
<input type=password name="txtPassword" width="100"/>
<br />
<input type=submit value="Login"/>
<br />
<span id="loginFailedMessage"></span>
</form>
</td>
My code looks like this:
<tr>
<td width="20"> </td>
<td width="142" height="130" class="bgcol">
<img src="../images/loghead.gif" />
<form action="BrokerLogin.aspx?location=index" method=post>
<span>Email:</span>
<br />
<input type=text name=txtEmail maxlength="44" width="100"/>
<br />
<span>Password:</span>
<br />
<input type=password name="txtPassword" width="100"/>
<br />
<input type=submit value="Login"/>
<br />
<span id="loginFailedMessage"></span>
</form>
</td>