Jump to content

Div formating not working inside form!


Recommended Posts

Hello, the problem is as the title states.Link to the files HEREThe Feedback form:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Untitled Document</title><link rel="stylesheet" type="text/css" href="mystyles.css" /></head><body><div class="header">	<h1>Feedback Form</h1></div><form name="form" method="post" action="mailto:chrisciscoioio@gmail.com"><table width="100%" height="688">	<tr>			<td>First Name:</td>			<td><input name="firstname" type="text" size="30" maxlength="20"></td>			<td>Last Name:</td>			<td><input name="lastname" type="text" size="30" maxlength="20"></td>	</tr>	<tr>			<td>E-Mail:</td>			<td colspan="3"><input name="email" type="text" value="" size="30" maxlength="40"></td>	</tr>	<tr>			<td><label>######:</label></td>			<td colspan="3"><select name="select"><option>Male</option><option>Female</option><option>Other</option></select></td>	</tr>	<tr>			<td>Website:</td>			<td colspan="3"><input name="website" type="text" size="50"></td>	</tr>	<tr>			<td>Occupation:</td>			<td colspan="3"><input name="occupation" type="text" size="30"></td>	</tr>	<tr>			<td>			<label>Country:</label></td>			<td colspan="3"><select name="country">			<option value=""selected> - (select one) -						</select></td>	</tr>	<tr>			<td>State/ Provice:</td>			<td colspan="3"><select class="formBox" name="state / Provice">			<option value=""> - (select one) -						</select></td>	</tr>	<tr>			<td>Birthday:</td>			<td colspan="3">			<select name="Bdmonth">			<option selected> Month or Birth</option>						</select> 	 			<select name="BDay">			<option>Day of Birth						</select>			<select name="Bdyear">			<option value=""> Year of Birth					</select></td>	</tr>	<tr>			<td>Comments:</td>			<td colspan="3" rowspan="2"><textarea name="textarea" cols="60" rows="10"></textarea>			</td>	</tr>	<tr>			<td colspan="3">			<input type="submit" name="Submit" value="Submit">			<input type="reset" name="Reset" value="Reset">			<td>	</tr></table></form></body></html>

Css code:

/* padding order: top right bottom left */div.header{clear: both;padding: 10% 30% 10% 30%;text-align: center;}div.navigation{clear: left;line-height: 220%;padding: 10% 2% 10% 2%;text-align: left;}div.content{clear: none;padding: 10% 10% 10% 10%;}div.thumbnails{margin: 0% 1% 10%;line-height: 1%;padding: 10% 2% 10% 2%;text-align: center;}div.footer{clear: both;padding: 10% 30% 10% 30%;text-align: center;}div{border: #ffffff 2px solid;margin: 2%;color: #ffcc33;font-family: Bookman Old Style, Sans-Serif, Arial;background-color: #000000;}div{border: #ffffff 2px solid;margin: 2%;color: #ffcc33;font-family: Bookman Old Style, Sans-Serif, Arial;background-color: #000000;}body{background-attachment: fixed;background-color: #191970;}img.movie{float: left;}img.thumb{border: 0px;}a{border-width: 0px;color: #ffcc33;text-decoration: none;}label{color: #ffcc33;}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...