PDA

View Full Version : Having some coding problems in a template


Warlord
09-02-2004, 02:10 AM
I'm trying to add a module to my vBa CMPS, and I'm having a little trouble with some of the code in my template, it seems like it's not closing out a tag, but I can't find the tag it's that isn't closed.


<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">

<tr>

<td class="tcat">

<span class="smallfont"><b>$vba_options[portal_blockbullet] Comic Shop Locator</b></span>

</td>

</tr>

<tr>

<td class="$getbgrow" align="center">

<script Language="JavaScript" Type="text/javascript"><!--
function FrontPage_Form3_Validator(theForm)
{

if (theForm.Zip.value == "")
{
alert("Please enter a value for the \"Zip\" field.");
theForm.Zip.focus();
return (false);
}

if (theForm.Zip.value.length < 5)
{
alert("Please enter at least 5 characters in the \"Zip\" field.");
theForm.Zip.focus();
return (false);
}

if (theForm.Zip.value.length > 7)
{
alert("Please enter at most 7 characters in the \"Zip\" field.");
theForm.Zip.focus();
return (false);
}
return (true);
}
//--></script><form method="POST" action="http://csls.diamondcomics.com/default.asp" id="form1" name="FrontPage_Form3" onsubmit="return FrontPage_Form3_Validator(this)" language="JavaScript">
<p><b><font face="Verdana,Arial,Helvetica" size="2">Please enter your ZIP or Postal Code:<br>
</font></b><font face="Verdana,Arial,Helvetica" size="1"><span lang="en-us">

(</span>US and Canadian residents only.<span lang="en-us">)</span></font></p>


<p>
<input type="text" name="Zip" size="6" maxlength="7">
<input type="submit" value="Find a Store!" name="SubmitButton"></p>

<b>
<font face="Verdana" size="1"><span lang="en-us">
<a href="http://csls.diamondcomics.com/csls_global.asp">Click here to find stores in<br>

Ireland and the United Kingdom!</a></span></font></b></form></td>


</tr>
</table>

If you look at my homepage, ( http://www.neropolis.com ) you can see the comic shop locator is merging into my news module for some reason. Anyone have any ideas or fixes for me?

Warlord
09-02-2004, 02:15 AM
Nevermind.. I feel like an idiot.. I just figured it out... I just needed a </br> tag after the table to seperate the two modules.