IntelliJ Java IDE
The moose likes Web Services and the fly likes HTML might not be in right section?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "HTML might not be in right section??" Watch "HTML might not be in right section??" New topic
Author

HTML might not be in right section??

colin shuker
Ranch Hand

Joined: Apr 11, 2005
Posts: 706
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

Joined: Apr 19, 2005
Posts: 70
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 ....


Satish SN<br />SCJP 1.4 & SCWCD 1.4
 
 
subject: HTML might not be in right section??
 
Threads others viewed
jsp problem
XML to HTML using JavaScript
validations coding..
Struts and Normal HTML Tags
split string into multiple strings
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture