• Post Reply Bookmark Topic Watch Topic
  • New Topic

HTML might not be in right section??  RSS feed

 
colin shuker
Ranch Hand
Posts: 750
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I've got a simple HTML problem.
I'm using a FORM so the user can input values, eg Name, age, height...
I want to display these vertically, but with the INPUT boxes lined up.
Is there any way of doing this other than tediously using the   option.
I'd like my output to be something like below...

Any help is much appreciated
[ August 28, 2005: Message edited by: colin shuker ]
 
Satish SN
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Collin,

There are two ways in which u can place the textboxes in vertical position
first:
simple <br/> statement after each txtbox
<b>Name :</b> <input type="text" name="txt1"><br/>
<b>Age :</b> <input type="text" name="txt2"><br/>

second:
using <Table>
<Table width="60%" align="center">
<Tr>
<Td width="30%"><b>Name :</b></Td>
<Td width="50%"><input type="text" name="txt1"></Td>
</Tr>
<Tr>
<Td width="30%"><b>Age :</b></Td>
<Td width="50%"><input type="text" name="txt2"></Td>
</Tr>
</Table>

Try this for further help do feel to post ....
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!