• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • Last Modified:

HTML display problem

Hi, I have a HTML display problem . the two textfields are not alligned properly.

Here I'm attaching  the code  and the desired display expected-display.png  in zip file. Could you please have a look into that and suggest me what needs to be done to get the desired display.
html-code.zip
0
cofactor
Asked:
cofactor
  • 2
  • 2
1 Solution
 
cofactorAuthor Commented:
comments please
0
 
wuyinzhiCommented:
you can use 2 <td> for label and input type. For example this line:

<td width="89%">Remark&nbsp;&nbsp;<input name="remark" type="text"></td>

can be split into 2 <td> like this:

<td>Remark</td>
<td width="89%"><input name="remark" type="text"></td>

do the same thing on "Assign To:" label.
0
 
wuyinzhiCommented:
this is what i mean:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
  <TITLE> New Document </TITLE>
  <META NAME="Generator" CONTENT="EditPlus">
  <META NAME="Author" CONTENT="">
  <META NAME="Keywords" CONTENT="">
  <META NAME="Description" CONTENT="">
 </HEAD>

 <BODY>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tbody>
	<tr>
		<td>Remark</td>												   
		<td width="89%"><input name="remark" type="text"></td>
	</tr>
	<tr>
		<input id="assigntoID" name="assignto" value="-1" type="hidden">
		<input id="hdnEmailID" name="hdnEmail" value="-1" type="hidden">
		<td>Assign To:</td>
		<td width="89%"><input name="fullName" value="" disabled="disabled" type="text"> &nbsp; <input name="btnSearch" class="submit_btn_base" value="Search" onclick="searchUser(document.forms[0].fullName.value)" type="button">
		</td>
	</tr>																								
	<tr>
		<td colspan=2>  <br>
		<input id="submit_1690601214" value="Approve" class="submit_btn_base" type="submit">
		<input id="submit_1173207487" value="Reject" class="submit_btn_base" type="submit">
		<input id="submit_1700119475" value="Print Preview" disabled="disabled" class="submit_btn_base" type="submit">
		<input id="submit_248498231" value="Export to Word" disabled="disabled" class="submit_btn_base" type="submit">
		</td>
	</tr>
</tbody></table>

</BODY>
</HTML>

Open in new window

0
 
cofactorAuthor Commented:
This solved my problem
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now