Jump to content

nested tables


mindapolis

Recommended Posts

Hi, I have nested tables and I forget how to put the projectOptions table to the right and of the question and put the rest of the questions below it.  Any help would be appreciated. 

<?php
require_once('functions.php');
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
	
</style>
<title>Untitled Document</title>
</head>
<body>
<table id="contactForm">
	<form>
		<tr>
        	<td class="question">First Name:<br />
			<input type="text" name="fname" size="15">	</td>
	     	<td class="question">Last Name<br />
			<input type="text" name="lname" size="20">	</td>
 	    	<td class="question">Organization's Name:<br />
			<input type="text" name="orgName" size="15" maxlength="50">	</td>
        </tr>            
        <tr>
         	<td class="question">Street Address:
        	<input type="text" name="address" size="15" maxlength="50"></td>
	     	<td class="question">City: <br />
 			<input type="text" name="city" size="10" maxlength="25">	</td>
    	  	<td class="question">State:	<br />
        	 <select name = "state"  value="<?=$state?>">  <option value ="Please choose a state">
			Please choose a state</option>
            			<?php states($state) ?>
			</select>	  </td> 
         	<td class="question">Zipcode:<br />
        	<input type="number" name="zipcode" size="5" maxlength="5">	</td>    
        </tr>    
        <tr>
        	<td>Phone Number: <br />(including area code)  <br />
            <input type="text" name="phone" size="10" maxlength="10"></td>
			<td>Fax Number: <br />(including area code)	<br />
            <input type="text" name="fax" size="10" maxlength="10"></td>
        </tr>    
        <tr>
        	<td>Email:<br />
        	<input type="text" name="email"></td>
            <td>Confirm Email:<br />
        	<input type="text" name="ConfirmEmail"></td>
        </tr>    
        <tr>
        	<td>What would you like help with?  </td>
       			<table id="projectOptions">
        			<tr>
                		<td><input type="checkbox">Social Media </td>	
                        <td><input type="checkbox">Web Content Management 	</td>
			        </tr>  
					<tr>
                		<td><input type="checkbox">Marketing Material Creation  </td>	
                        <td><input type="checkbox">SEO (Search Engine Optimization) 	</td>
                    </tr>
					<tr>
                		<td><input type="checkbox"> Video Editing  </td>	
                        <td><input type="checkbox">Web Design  	</td>
			        </tr>  
                </table>
        <tr>
        	<td>Overview about the project:	</td>
        	<td><textarea></textarea></td>
        </tr>
        <tr>
        	<td>If you are not a robot, what year is it?  </td>    
            <td><input type="text" name="year" size="4" maxlength="4">
        </tr>
        <tr>
        	<td><input type="submit"></td>
            <td><input type="reset"></td>
        </tr>
	</form>
</table>
</body>
</html>
Link to comment
Share on other sites

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.