Reply
Overlapping or Unclosed Tag
Old 06-30-2007, 09:02 AM Overlapping or Unclosed Tag
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 563
Name: Darren
Location: England
Hi, in dream weaver I'm getting the error displayed "<form/> marked invaled because its n overlapping or unclosed tag"

how do i correct this?

Code:
<table border="0" cellspacing="0" cellpadding="0" align="center" width=100%>
  <tr align="left" valign="top"> 
    <td width="236"> 
      <table width="218" border="0" cellspacing="0" cellpadding="0" align="right">
         <form action="user/login.php" method="post" style="display: inline">
        <tr> 
          <td><img src="images/mode_26.jpg" width=218 height=39 alt=""></td>
        </tr>
        <tr> 
          <td background="images/mode_29.jpg" style="padding-left: 30px"><input type="text" name="user_name" value="{username}"></td>
        </tr>
        <tr> 
          <td><img src="images/mode_34.jpg" width=218 height=24 alt=""></td>
        </tr>
        <tr> 
          <td background="images/mode_29.jpg" style="padding-left: 30px"><input type="password" name="password" value=""><br />
          </td>
        </tr>
        <tr> 
          <td background="images/mode_41.jpg" width=218 height=29 style="padding-right: 40px;"><div align=right><input type="submit" name="submit" value="Login" style="font-size: 10px; height: 20px;"></div></td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td><img src="images/mode_50.jpg" width=218 height=32 alt=""></td>
        </tr>
        </form>
        <form action="user/search.php" method="post" style="display: inline">
        <tr> 
          <td background="images/mode_52.jpg">
              <table style="color: #FFFFFF; font-family: Arial; font-size: 10px" cellpadding=0 cellspacing=0 align=center width=50>
              
                <td width="90" height="37">Sex </td>
                <td width="172">
                  <select name="sex">
                    <option value="">Any</option>
                    <option value="F">Female</option>
                    <option value="M">Male</option>
                  </select>
                </td>
                
                <tr> 
                    <td>Country </td>
                  <td><input type="text" name="country" style="width: 100px"></td>
                </tr>
                <tr> 
                    <td height="38" >Age </td>
                  <td height="38" ><select name="age">
                        <option value="">Any</option>
                        <option value="18-25">18-25</option>
                        <option value="26-30">26-30</option>
                        <option value="31-35">31-35</option>
                        <option value="36-40">36-40</option>
                        <option value="41-45">41-45</option>
                        <option value="45-60">Over 45</option>
                      </select></td>
                </tr>
              </table>
          </td>
        </tr>
        <tr> 
          <td background="images/mode_58.jpg" width=218 height=24><div align="right" style="padding-right: 40px;"><input type="hidden" name="submit2" value="submit" ><input type="submit" name="Submit" style="font-size: 10px; height: 20px;" value="Search"></div></td>
        </tr>
      </table>
   </form>
    </td>
    <td width="524"> 
      <table width="503" border="0" cellspacing="0" cellpadding="0" background="images/mode_55.jpg">
        <tr> 
          <td><img src="images/mode_27.jpg" width=503 height=39 alt=""></td>
        </tr>
        <tr> 
          <td> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" style="color: #FFFFFF; font-size: 11px; font-family: Arial">
              <tr> 
                <td align="center" valign="middle" width="200"><img src="images/mode_31.jpg" width=171 height=105 alt=""></td>
                <td align="left" valign="top"> 
                  <p><img src="images/mode_32.jpg" width=89 height=26 alt=""></p>
                  Online portfolios for Models, Actors and Entertainers.  Create an portfolio online.  Choose your own portfolio template.  Add your work experience, latest news,
				  your profile and your photo catalog.  Update your portfolio at any time by logging in. <p>
				  Agents can search through our comprehensive database to find prospective Models, Actors and Entertainers.  Search by sex, country and age.  View indepth profiles and large photo catalogs.
				 <p>Get started today!
				  

                 

                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td><img src="images/mode_40.jpg" width=503 height=35 alt=""></td>
        </tr>
        <tr> 
          <td> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td align="center" valign="top" width="200" valign=top>&nbsp;&nbsp;<img src="images/mode_43.jpg" width=171 height=108 alt=""></td>
                <td align="left" valign="top"> 
                  <div><img src="images/mode_44.jpg" width=125 height=25 alt=""></div>
                   <div class=mytext>
                   <table cellspacing="0" cellpadding="0" border="0" width="100%">
                   	<tr>
                   	{register}
                   	</tr>
                   </table>
                   </div>
               </td>
              </tr>
            </table>
         
        </tr>
        <tr> 
          <td><img src="images/mode_57.jpg" width=503 height=25 alt=""></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
__________________
"I always wanted the adoration of John Lennon - With The Anonimity of Ringo Starr..."
QuizBay Help with the testing of this Beta site!
rolda hayes is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-30-2007, 09:29 AM Re: Overlapping or Unclosed Tag
Jdinh04's Avatar
Super Talker

Posts: 136
Name: J. Dinh
Location: Okemos, MI
Have you tried removing it to see what it'll do? I just removed it in DW and it looks fine now.

HTML Code:
<table border="0" cellspacing="0" cellpadding="0" align="center" width=100%>
  <tr align="left" valign="top"> 
    <td width="236"> 
      <table width="218" border="0" cellspacing="0" cellpadding="0" align="right">
         <form action="user/login.php" method="post" style="display: inline">
        <tr> 
          <td><img src="images/mode_26.jpg" width=218 height=39 alt=""></td>
        </tr>
        <tr> 
          <td background="images/mode_29.jpg" style="padding-left: 30px"><input type="text" name="user_name" value="{username}"></td>
        </tr>
        <tr> 
          <td><img src="images/mode_34.jpg" width=218 height=24 alt=""></td>
        </tr>
        <tr> 
          <td background="images/mode_29.jpg" style="padding-left: 30px"><input type="password" name="password" value=""><br />
          </td>
        </tr>
        <tr> 
          <td background="images/mode_41.jpg" width=218 height=29 style="padding-right: 40px;"><div align=right><input type="submit" name="submit" value="Login" style="font-size: 10px; height: 20px;"></div></td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td><img src="images/mode_50.jpg" width=218 height=32 alt=""></td>
        </tr>
        </form>
        <form action="user/search.php" method="post" style="display: inline">
        <tr> 
          <td background="images/mode_52.jpg">
              <table style="color: #FFFFFF; font-family: Arial; font-size: 10px" cellpadding=0 cellspacing=0 align=center width=50>
              
                <td width="90" height="37">Sex </td>
                <td width="172">
                  <select name="sex">
                    <option value="">Any</option>
                    <option value="F">Female</option>
                    <option value="M">Male</option>
                  </select>
                </td>
                
                <tr> 
                    <td>Country </td>
                  <td><input type="text" name="country" style="width: 100px"></td>
                </tr>
                <tr> 
                    <td height="38" >Age </td>
                  <td height="38" ><select name="age">
                        <option value="">Any</option>
                        <option value="18-25">18-25</option>
                        <option value="26-30">26-30</option>
                        <option value="31-35">31-35</option>
                        <option value="36-40">36-40</option>
                        <option value="41-45">41-45</option>
                        <option value="45-60">Over 45</option>
                      </select></td>
                </tr>
              </table>
          </td>
        </tr>
        <tr> 
          <td background="images/mode_58.jpg" width=218 height=24><div align="right" style="padding-right: 40px;"><input type="hidden" name="submit2" value="submit" ><input type="submit" name="Submit" style="font-size: 10px; height: 20px;" value="Search"></div></td>
        </tr>
      </table>
    </td>
    <td width="524"> 
      <table width="503" border="0" cellspacing="0" cellpadding="0" background="images/mode_55.jpg">
        <tr> 
          <td><img src="images/mode_27.jpg" width=503 height=39 alt=""></td>
        </tr>
        <tr> 
          <td> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" style="color: #FFFFFF; font-size: 11px; font-family: Arial">
              <tr> 
                <td align="center" valign="middle" width="200"><img src="images/mode_31.jpg" width=171 height=105 alt=""></td>
                <td align="left" valign="top"> 
                  <p><img src="images/mode_32.jpg" width=89 height=26 alt=""></p>
                  Online portfolios for Models, Actors and Entertainers.  Create an portfolio online.  Choose your own portfolio template.  Add your work experience, latest news,
				  your profile and your photo catalog.  Update your portfolio at any time by logging in. <p>
				  Agents can search through our comprehensive database to find prospective Models, Actors and Entertainers.  Search by sex, country and age.  View indepth profiles and large photo catalogs.
				 <p>Get started today!
				  

                 

                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td><img src="images/mode_40.jpg" width=503 height=35 alt=""></td>
        </tr>
        <tr> 
          <td> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td align="center" valign="top" width="200" valign=top>&nbsp;&nbsp;<img src="images/mode_43.jpg" width=171 height=108 alt=""></td>
                <td align="left" valign="top"> 
                  <div><img src="images/mode_44.jpg" width=125 height=25 alt=""></div>
                   <div class=mytext>
                   <table cellspacing="0" cellpadding="0" border="0" width="100%">
                   	<tr>
                   	{register}
                   	</tr>
                   </table>
                   </div>
               </td>
              </tr>
            </table>
         
        </tr>
        <tr> 
          <td><img src="images/mode_57.jpg" width=503 height=25 alt=""></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
Jdinh04 is offline
Reply With Quote
View Public Profile Visit Jdinh04's homepage!
 
Old 06-30-2007, 11:54 AM Re: Overlapping or Unclosed Tag
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
You've got a nesting issue. <form> isn't allowed within the <table> tag like that.

You'd have to create two separate tables and wrap the <form> tag around each of them.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 07-01-2007, 01:53 PM Re: Overlapping or Unclosed Tag
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 563
Name: Darren
Location: England
Thanks Adam...
__________________
"I always wanted the adoration of John Lennon - With The Anonimity of Ringo Starr..."
QuizBay Help with the testing of this Beta site!
rolda hayes is offline
Reply With Quote
View Public Profile
 
Old 07-07-2007, 03:05 AM Re: Overlapping or Unclosed Tag
Novice Talker

Posts: 11
good work!!!
legauxenterpris is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Overlapping or Unclosed Tag
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13453 seconds with 12 queries