Help yet again guys. I'm having trouble getting the table underneath the <h3> tag "Delivery rates" to show in the right place. Also the "Delivery Rates" is not showing either. This is starting down at line 86. I've tried adding <p>/</p> elements as my book mentions but they do not seem to work or rather I'm putting them in the wrong spots(?). Thanks for the help!

Jake

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Forrestville Daily Subscription Form</title>
<style type="text/css">
body {font-family: "Trebuchet MS", Arial, Helvetica, sans-serif, serif }
h2 { font-size: 1.2em }
</style>

<script type="text/javascript">
<!--HIDE FROM INCOMPATIBLE BROWSERS

function checkForNumber(fieldValue) {
	var numberCheck = isNaN(fieldValue);
	if (numberCheck == true) {
		window.alert("You must enter a numeric value!");
		return false;
	}
}

function confirmPassword() {
	if (document.forms[0].password.value !=
	document.forms[0].password_confirm.value) {
		window.alert("You did not enter the same password!");
			document.forms[0].password.focus();
	}
}

function ensurePasswordConfirm() {
	if (!document.forms[0].password_confirm.focus()){
		window.alert("You must confirm the password you entered!");
		document.forms[0].password_confirm.focus();
		}
}

//STOP HIDING FROM INCOMPATIBLE BROWSERS -->
</script>
</head>
<body>
<h1>Forestville Daily Subscription Form</h1>
<h2>Customer Information</h2><hr />

<form action="FormProcessor.html" method="get"
enctype="application/x-www-form-urlencoded">

<table border="0" cellpadding="3" cellspacing="0">

<tr>
<td valign="top"><h3>Billing Information</h3>
<p>Name<br />
<input type="text" name="name_billing" size ="50" /></p>
<p>Address<br />
<input type="text" name="address_billing" size="50" /></p>
<p>City, State, Zip<br />
<input type="text" name="city_billing" size="34" />
<input type="text" name="state_billing" size="2" maxlength="2" />
<input type="text" name="zip_billing" size="5" maxlength="5" onchange="return checkForNumber(this.value);"/></p>
</td>

<td valign="top">
<h3>Shipping Information</h3>
<p>Name<br />
<input type="text" name="name_shipping" size="50" /></p>
<p>Address<br />
<input type="text" name="address_shipping" size="50" /></p>
<p>City, State, Zip<br />
<input type="text" name="city_shipping" size="34" />
<input type="text" name="state_shipping" size="2" maxlength="2" />
<input type="text" name="zip_shipping" size="5" maxlength="5" onchange="return checkForNumber(this.value);"/></p>
</td>

</tr>
</table>
<p>Telephone<br />
(<input type="text" name="area" size="3" maxlength="3" onchange="return checkForNumber(this.value);"/>) 
<input type="text" name="exchange" size="3" maxlength="3" onchange="return checkForNumber(this.value);"/>
<input type="text" name="phone" size "4" maxlength="4" onchange="return checkForNumber(this.value);"/></p>

<p>Enter a password that you can use to manage your subscription online:<br />
<input type="password" name="password" size="50" onchange="ensurePasswordConfirm();"/></p>

<p>Type the password again to confirm it.<br />
<input type="password" name="password_confirm" size="50" onchange="confirmPassword(); /></p>

<h3>Delivery Rates</h3>
<table border="0" cellpadding="3" cellspacing="0">
<colgroup align="left" width="100" />
<colgroup span="4" align="center" width="100" />
<tr>
<th>&nbsp;</th>
<th>4 weeks</th>
<th>13 weeks</th>
<th>26 weeks</th>
<th>52 weeks</th>
</tr>

<tr>
<td><b>Mon-Sat</b></td>
<td><input type="radio" name="delivery"
	value="12.60" />$12.60</td>
<td><input type="radio" name="delivery"
	value="40.95" />$40.95</td>
<td><input type="radio" name="delivery"
	value="81.90" />$81.90</td>
<td><input type="radio" name="delivery"
	value="156.00" />$150.00</td>
</tr>

<tr>
<td><b>Every Day</b></td>
<td><input type="radio" name="delivery" 
	value="13.56" />$13.56</td>
<td><input type="radio" name="delivery"
	value="44.07" />$44.07</td>
<td><input type="radio" name="delivery"
	value="88.14" />$88.14</td>
<td><input type="radio" name="delivery"
	value="159.74" />$159.74</td>
</tr>
</table>
</form>
</body>
</html>

Recommended Answers

All 2 Replies

On line 84, you are missing a double quote to close off your onchange event.

Thanks Taywin. You're always helpful.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.