animgirl
07-11-2003, 05:50 PM
Hello,
I've been working on a php form for my site.
Instead of all input boxes, I've decided to add some dropdown menus.
Well, my page is xhtml and this introduced some problems.
This is what it looked like before I added the dropdown menu:
http://www.alliancemusic.org/good.gif
And here's the code:<form action="online_consultation_form.php" method="post">
<div>
Name:<br />
<input type="text" name="name" size="25" />
<br />
<br />
Email address:<br />
<input type="text" name="email" size="25" />
When I added the dropdown menu, it looks like this:
http://www.alliancemusic.org/check_it.gif
And here's my code:
<form action="online_consultation_form.php" method="post">
<div>
check it baby:<br />
<select name="title">
<option value="Mr">Mr</option>
<option value="Mrs">Mrs</option>
<option value="Ms">Ms</option>
<option value="Miss">Miss</option>
<option value="Dr">Dr</option>
<option value="Choose" selected>Please select..</option>
<br />
<br />
Name:<br />
<input type="text" name="name" size="25" />
<br />
<br />
Email address:<br />
<input type="text" name="email" size="25" />
notice: because I am concentrating on this section of code, I did not include the closing div and form tags
The dropdown menu is going over the name input box, and no matter how many breaks I insert, I can't get it to move.
I hope I'm being clear.
thanks a mill
animgirl
I've been working on a php form for my site.
Instead of all input boxes, I've decided to add some dropdown menus.
Well, my page is xhtml and this introduced some problems.
This is what it looked like before I added the dropdown menu:
http://www.alliancemusic.org/good.gif
And here's the code:<form action="online_consultation_form.php" method="post">
<div>
Name:<br />
<input type="text" name="name" size="25" />
<br />
<br />
Email address:<br />
<input type="text" name="email" size="25" />
When I added the dropdown menu, it looks like this:
http://www.alliancemusic.org/check_it.gif
And here's my code:
<form action="online_consultation_form.php" method="post">
<div>
check it baby:<br />
<select name="title">
<option value="Mr">Mr</option>
<option value="Mrs">Mrs</option>
<option value="Ms">Ms</option>
<option value="Miss">Miss</option>
<option value="Dr">Dr</option>
<option value="Choose" selected>Please select..</option>
<br />
<br />
Name:<br />
<input type="text" name="name" size="25" />
<br />
<br />
Email address:<br />
<input type="text" name="email" size="25" />
notice: because I am concentrating on this section of code, I did not include the closing div and form tags
The dropdown menu is going over the name input box, and no matter how many breaks I insert, I can't get it to move.
I hope I'm being clear.
thanks a mill
animgirl