Jump to content

Recommended Posts

I wish to reposition the second drop down menu so that it is under Class Year as opposed to beside it. Anyone know how to accomplish this? I believe it's simple, but I'm new to this.

 

Thanks in advance.

 

    <form action="feedback.php" method="post">

     

<table border="0" cellpadding="3" cellspacing="1" summary="feedback form">

 

<tr><td>Name:</td><td><input type="text" name="name" size="25" /></td></tr>

<tr><td>Email address:</td><td><input type="text" name="email" size="25" /></td></tr>

<tr><td>College/University:</td><td><input type="text" name="college" size="25" /></td></tr>

<tr><td>Major:</td><td><input type="text" name="major" size="25" /></td></tr>

<tr><td>Phone:</td><td><input type="text" name="phone" size="25" /></td></tr>

 

<tr><td></td><td></td></tr>

 

<td> Class Year: <select name="classyear">

<option value="Freshman">Freshman</option>

<option value="Sophomore">Sophomore</option>

<option value="Junior">Junior</option>

<option value="Senior">Senior</option></select><br><br>

 

<td> How did you hear about us?<select name="find">

<option value="Word of Mouth">Word of Mouth</option>

<option value="Browsing the Internet">Browsing the Internet</option>

<option value="Newspaper/Magazine">Newspaper/Magazine</option>

<option value="Other">Other</option></select><br><br>

 

 

<tr><td></td><td></td></tr>

 

<td colspan="2">

What would you like to get out of the New Orleans Pilot Trip?<br />

<textarea rows="10" cols="53" name="comments"></textarea>

</td>

</tr>

<td colspan="2">

Brief description of your previous volunteer experience:<br />

<textarea rows="10" cols="53" name="comments2"></textarea>

 

 

</td>

</tr>

<tr><td></td><td></td></tr>

<tr><td></td><td></td></tr>

 

<tr>

<td align="center" colspan="2">

<input type="submit" value="Register Now" /><br />

</td>

</tr>

</table>

</form>

      </div>

Link to comment
https://forums.phpfreaks.com/topic/60141-reposition-second-drop-down-menu/
Share on other sites

you just need to split up that row into two separate rows, each with 2 cells, and place the label in the first cell and the drop down in the second

 

like this ...

        <tr>
            <td>Class Year:</td>

            <td><select name="classyear">
                <option value="Freshman">
                    Freshman
                </option>

                <option value="Sophomore">
                    Sophomore
                </option>

                <option value="Junior">
                    Junior
                </option>

                <option value="Senior">
                    Senior
                </option>
            </select>
            </td>
        </tr>


        <tr>
            <td>How did you hear about us?</td>

            <td><select name="find">
                <option value="Word of Mouth">
                    Word of Mouth
                </option>

                <option value="Browsing the Internet">
                    Browsing the Internet
                </option>

                <option value="Newspaper/Magazine">
                    Newspaper/Magazine
                </option>

                <option value="Other">
                    Other
                </option>
            </select>
            </td>
        </tr>

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.