jagku
asked on
how do you place a form on the same line as other text
Hello Experts,
I have the following code:
How do I place the form so that it appears on the same line as the 'All on one line' hyperlink?
Please note that I have several forms on the same page - but they should appear as the above (ie without the 'fix').
Many Thanks!
I have the following code:
<html>
<body>
<a>All on one line</a>
<form id="myform">
<input type="text" name="test" size="20">
<input type="submit" value="Submit" />
</form>
</body>
</html>
How do I place the form so that it appears on the same line as the 'All on one line' hyperlink?
Please note that I have several forms on the same page - but they should appear as the above (ie without the 'fix').
Many Thanks!
what exactly do you mean by <<place a form on the same line as other text>>?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Perhaps you could use position: absolute; and specify where on the page you move it to.
ASKER
Hi,
Thanks - rereading my question - I must have been having a bad day! Yes, a table is fine - as well as prepending the text I want to appear to the left of the textbox.
Thanks
Thanks - rereading my question - I must have been having a bad day! Yes, a table is fine - as well as prepending the text I want to appear to the left of the textbox.
Thanks