Hi. I looked at the source code and I don't see where the alert message closed a <div> tag.
Before submit:
Code:
<div class="thead">
<img src="http://www.tutorialms.com/beta/images/header_icons/add.gif" alt="Submission" style="margin-right:10px;" /><strong>Submission</strong>
</div>
<div class="genmcontainer">You selected category <strong>Dummy Category (3)</strong><br />
<br />
<strong>NOTE: If a tutorial is filled in incorrectly it will be skipped.</strong><br />
<br />
<form enctype="multipart/form-data" action="http://www.tutorialms.com/beta/submit2/?cat=1&number=1" method="POST">
<strong>Homepage</strong><br />
<div style="float: left;width:220px">Please enter your website URL: (with http://)</div>
<div style="float: right;"><input size="36" name="weburl" type="text" class="form_styles"></div>
<div style="clear:both;"></div>
</div>
After submit: (I don't see where the first line <div> was closed)
Code:
<div class="genmcontainer">The homepage URL was not a valid URL.<br />
<div class="thead">
<img src="http://www.tutorialms.com/beta/images/header_icons/add.gif" alt="Submission" style="margin-right:10px;" /><strong>Submission</strong>
</div>
<div class="genmcontainer">You selected category <strong>Dummy Category (3)</strong><br />
<br />
<strong>NOTE: If a tutorial is filled in incorrectly it will be skipped.</strong><br />
<br />
<form enctype="multipart/form-data" action="http://www.tutorialms.com/beta/submit2/?cat=1&number=1" method="POST">
<strong>Homepage</strong><br /><div style="float: left;width:220px">Please enter your website URL: (with http://)</div>
<div style="float: right;"><input size="36" name="weburl" type="text" class="form_styles"></div>
<div style="clear:both;"></div>
</div>
I might be off on this, but does the "submit_results" template have a closing </div> tag?
Hope this helps.
Update: That was the problem. In the "submit_results" template change the following:
Code:
<if condition="$messages[submit_results_show_error] == 1">
$messages[submit_results_error]
<else />
<p class="smalltext">
Your tutorial(s) have been submitted to the approval que:<br />
<strong>$messages[submit_results_success]</strong> succeeded.<br />
<strong>$messages[submit_results_fail]</strong> failed.
</p>
</div>
</if>
to the following by adding the </div> just above the <else />
Code:
<if condition="$messages[submit_results_show_error] == 1">
$messages[submit_results_error]
</div>
<else />
<p class="smalltext">
Your tutorial(s) have been submitted to the approval que:<br />
<strong>$messages[submit_results_success]</strong> succeeded.<br />
<strong>$messages[submit_results_fail]</strong> failed.
</p>
</div>
</if>
And thanks! Mine was also doing the same and this fixed it.
Thanks

You really have eagle's eyes. I can't spot the problem even after a very long time.