That spaced everything out all funny, and validated about the same. So I changed it back

thanks for the try though.
Also as a sidenote for those viewing in the future: I know it'd probably work in a HTML doctype but its a goal of mine to get everything validated xhtml 1.1
Edit: Figured it out and thought I'd share here for those of you that may be having the same trouble, or might have in the future.
The above form code I was using was correct: However for some reason in XHTML 1.1 you cannot have your forms within a div. Example:
The wrong code:
<div id="contentbox"><div>
<form id="shoutbox" method="post" action="shoutbox.php">
Name:<br />
<input type="text" name="name" maxlength="255" /><br />
E-mail:<br />
<input type="text" name="email" maxlength="255" /><br />
Message:<br />
<input type="text" name="post" /><br />
<input type="submit" name="shoutsubmit" value="Submit" />
<input type="reset" name="reset" value="Clear" />
</form>
</div></div>
To correct it so it validates I had to put it like:
<form id="shoutbox" method="post" action="shoutbox.php">
<div id="contentbox"><div>
Name:<br />
<input type="text" name="name" maxlength="255" /><br />
E-mail:<br />
<input type="text" name="email" maxlength="255" /><br />
Message:<br />
<input type="text" name="post" /><br />
<input type="submit" name="shoutsubmit" value="Submit" />
<input type="reset" name="reset" value="Clear" />
</div></div>
</form>
Edited by raenef, 10 July 2005 - 12:36 AM.