Jump to content

Tables Are Running to the Right


bmroyer

Recommended Posts

I added a form to my site from freedback.com, and it moved some of my tables. You can view it at http://www.pottersworld.com/submitnews.htmlhere is my code html code:

<html><head><title>PottersWorld.com</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css"><!--A:link{ text-decoration: none; color: #608460 }A:visited{ text-decoration: none; color:#608460; }A:active{ text-decoration: none; color:#608460; }A:hover{ text-decoration: underline overline; color:#608460; }body{SCROLLBAR-FACE-COLOR: #000000; SCROLLBAR-HIGHLIGHT-COLOR: #000000; SCROLLBAR-SHADOW-COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #608460; SCROLLBAR-ARROW-COLOR:  #608460; SCROLLBAR-TRACK-COLOR: #000000; SCROLLBAR-DARKSHADOW-COLOR: #000000;}p, td, tr, body, a {text-decoration:none; font-family:verdana; color: #456c45; font-size: 10px; line-height: 120%; margin-top: 0; margin-bottom: 0; }--></style></head><body bgcolor="#000000" leftmargin="0" topmargin="0"> <table width="780" border="0" cellspacing="0" cellpadding="0">   <tr>     <td height="5"><img src="shim.gif" width="1" height="5"></td>   </tr>   <tr>     <td align="center"><img src="top_banner.jpg" width="774" height="180"></td>   </tr>   <tr>     <td><table width="800" border="0" cellspacing="0" cellpadding="0">         <tr>           <td width="10" height="10"><img src="shim.gif" width="10" height="10"></td>           <td width="136" height="10"><img src="shim.gif" width="136" height="10"></td>           <td width="10" height="10"><img src="shim.gif" width="10" height="10"></td>           <td width="480" height="10"><img src="shim.gif" width="480" height="10"></td>           <td width="10" height="10"><img src="shim.gif" width="10" height="10"></td>           <td width="136" height="10"><img src="shim.gif" width="136" height="10"></td>           <td width="10" height="10"><img src="shim.gif" width="10" height="10"></td>         </tr>         <tr>           <td> </td>           <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">               <tr>                 <td><table width="100%"  border="1" cellpadding="0" cellspacing="0" bordercolor="#000000">                     <tr>                       <td bgcolor=""><img src="b_menu.jpg" width="136" height="28"></td>                     </tr>                     <tr>                       <td><table width="100%"  border="0" cellpadding="0" cellspacing="0">                           <tr>                             <td height="5"><img src="shim.gif" width="1" height="5"></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="index.html">Home</a></td>                           </tr>       <tr>   	 <td><img src="shim.gif" width="15" height="1"><a href="archive.html">News Archive</a></td>      </tr>                          <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="aboutus.html">About Us</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="http://www.pottersworld.com/forums">Forums</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="staff.html">Staff</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="jobs.html">Job openings</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="contact.html">Contact</a></td>                           </tr>        <tr>   	 <td><img src="shim.gif" width="15" height="1"><a href="links.html">Links</a></td>      </tr>                          <tr>                             <td> </td>                           </tr>                         </table></td>                     </tr>                   </table></td>               </tr>               <tr>                 <td> </td>               </tr>               <tr>                 <td><table width="100%"  border="1" cellpadding="0" cellspacing="0" bordercolor="#000000">                     <tr>                       <td bgcolor=""><img src="b_releases.jpg" width="136" height="28"></td>                     </tr>                     <tr>                       <td><table width="100%"  border="0" cellpadding="0" cellspacing="0">                           <tr>                             <td height="5"><img src="shim.gif" width="1" height="5"></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="bookrelease.html">Half-Blood Prince</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="Movierelease.html">Goblet of Fire</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="gamerelease.html">GoF Game</a></td>                           </tr>                           <tr>                             <td> </td>                           </tr>                         </table></td>                     </tr>                   </table></td>               </tr>               <tr>                 <td> </td>               </tr>               <tr>                 <td><table width="100%"  border="1" cellpadding="0" cellspacing="0" bordercolor="#000000">                     <tr>                       <td bgcolor=""><img src="b_games.jpg" width="136" height="28"></td>                     </tr>                     <tr>                       <td><table width="100%"  border="0" cellpadding="0" cellspacing="0">                           <tr>                             <td height="5"><img src="shim.gif" width="1" height="5"></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="game1.html">Sorceress Stone</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="game2.html">Chamber of Secrets</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="game3.html">Prisoner of Azkaban</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="game4.html">Goblet of Fire</a></td>                           </tr>       <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="game5.html">Qudditch Cup</a></td>                           </tr>                           <tr>                             <td> </td>                           </tr>                         </table></td>                     </tr>                   </table></td>               </tr>               <tr>                 <td> </td>               </tr>               <tr>                 <td><table width="100%"  border="1" cellpadding="0" cellspacing="0" bordercolor="#000000">                     <tr>                       <td bgcolor=""><img src="b_affiliates.jpg" width="136" height="28"></td>                     </tr>                     <tr>                       <td><table width="100%"  border="0" cellpadding="0" cellspacing="0">                           <tr>                             <td height="5"><img src="shim.gif" width="1" height="5"></td>                           </tr>                           <tr>    	 <td>Want to affilate?<br>   	 <a href="mailto:bmroyer@gmail.com">email me</a><br>   	 <a href="http://www.mugglenet.com"><img src="http://galleries.mugglenet.com/main/links/mnbanner_small.gif" alt="Visit MuggleNet.com!"></a><br></td>                          	 <a href="http://www.UnknownWriters.net"><img src="http://img.photobucket.com/albums/v190/bvroyer1/button.gif" alt="Visit UnknownWriters.net!"></a><br></td>                           </tr>                           <tr>                             <td> </td>                           </tr>                         </table></td>                     </tr>                   </table></td>               </tr>               <tr>                 <td> </td>               </tr>             </table></td>           <td> </td>           <td valign="top"><table width="100%"  border="1" cellpadding="0" cellspacing="0" bordercolor="#182618">               <tr>                 <td><table width="100%"  border="0" cellspacing="3" cellpadding="0">                     <tr>                       <td> </td>                     </tr>                     <tr>                       <td> </td>                     </tr>                     <tr>                       <td> </td>                     </tr>                     <tr>                       <td> </td>                     </tr>                     <tr>                       <td> </td>                     </tr>                     <tr>                       <td> </td>                     </tr>                     <tr>                       <td> </td>                     </tr>                     <tr>                       <td> </td>                     </tr>                     <tr>                       <td> </td>                     </tr>                   </table></td>               </tr>             </table></td>           <td> </td>           <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">               <tr>                 <td><table width="100%"  border="1" cellpadding="0" cellspacing="0" bordercolor="#000000">                     <tr>                       <td bgcolor=""><img src="b_books.jpg" width="136" height="28"></td>                     </tr>                     <tr>                       <td><table width="100%"  border="0" cellpadding="0" cellspacing="0">                           <tr>                             <td height="5"><img src="shim.gif" width="1" height="5"></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="book1.html">Sorceress Stone</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="book2.html">Chamber of Secrets</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="book3.html">Prisoner of Azkaban</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="book4.html">Goblet of Fire</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="book5.html">Order of the Phoenix</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="book6.html">Half-Blood Prince</a></td>                           </tr>       <tr>   	 <td><img src="shim.gif" width="15" height="1"><a href="book7.html">Book 7 Info</a></td>       </tr>       <tr>   	 <td><img src="shim.gif" width="15" height="1"<a href="book8.html">Book 8??</a></td>      </tr?                          <tr>                             <td> </td>                           </tr>                         </table></td>                     </tr>                   </table></td>               </tr>               <tr>                 <td> </td>               </tr>               <tr>                 <td><table width="100%"  border="1" cellpadding="0" cellspacing="0" bordercolor="#000000">                     <tr>                       <td bgcolor=""><img src="b_movies.jpg" width="136" height="28"></td>                     </tr>                     <tr>                       <td><table width="100%"  border="0" cellpadding="0" cellspacing="0">                           <tr>                             <td height="5"><img src="shim.gif" width="1" height="5"></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="movie1.html">Movie 1</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="movie2.html">Movie 2</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="movie3.html">Movie 3</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="movie4.html">Movie 4</a></td>                           </tr>                           <tr>                             <td><img src="shim.gif" width="15" height="1"><a href="movie5.html">Movie 5</a></td>                           </tr>                           <tr>                             <td> </td>                           </tr>                         </table></td>                     </tr>                   </table></td>               </tr>               <tr>                 <td> </td>               </tr>                             <tr>                 <td> </td>               </tr>             </table></td>           <td> </td>         </tr>         <tr>           <td width="10" height="10"><img src="shim.gif" width="10" height="10"></td>           <td width="136" height="10"><img src="shim.gif" width="136" height="10"></td>           <td width="10" height="10"><img src="shim.gif" width="10" height="10"></td>           <td width="480" height="10"><img src="shim.gif" width="480" height="10"></td>           <td width="10" height="10"><img src="shim.gif" width="10" height="10"></td>           <td width="136" height="10"><img src="shim.gif" width="136" height="10"></td>           <td width="10" height="10"><img src="shim.gif" width="10" height="10"></td>         </tr>         <tr>           <td> </td>           <td colspan="5"><table width="100%"  border="1" cellpadding="0" cellspacing="0" bordercolor="#182618">               <tr>                 <td align="center"><p><strong>Copyright</strong><br>                     "Harry Potter," and all other proper names from the Harry potter book series<br>       are trademarks of Joanne Kathleen Rowling and the Time Warner Entertainment Company,<br>      No, we aren't affiliated with any of them, PottersWorld.com is strictly a fan site.<br>        Layout © phalen - The Potter Police<br>   	 <br>    Vote For Us!<br>	 	 <br>  <A HREF="http://www.ranklists.com/harrypotter/cgi-bin/rankem.cgi?action=in&id=nuttzy"><img src="http://www.ranklists.com/harrypotter/harrypotter.gif" border=0></A><a href="http://www.hpana-media.com/topsites/in.php?id=bmroyer"><img src="http://www.hpana-media.com/topsites/image.php?id=bmroyer" width="88" height="31" style="border: 0;" alt="Click to visit HPANA Top Sites" /></a><a href="http://www.godrics-hollow.net/modules.php?name=MS_TopSites&file=in&id=458" target="_blank"><img src="http://www.godrics-hollow.net/images/ghts.gif" border="0"></a><a href="http://topsites.mugglenet.com/in.php?id=nuttzy"><img src="http://topsites.mugglenet.com/image.php?id=nuttzy" alt="Please Vote for Our Site!" style="border: 0px" /></a><br>              </tr>             </table></td>           <td> </td>         </tr>         <tr>           <td width="10" height="10"><img src="shim.gif" width="10" height="10"></td>           <td width="136" height="10"><img src="shim.gif" width="136" height="10"></td>           <td width="10" height="10"><img src="shim.gif" width="10" height="10"></td>           <td width="480" height="10"><img src="shim.gif" width="480" height="10"></td>           <td width="10" height="10"><img src="shim.gif" width="10" height="10"></td>           <td width="136" height="10"><img src="shim.gif" width="136" height="10"></td>           <td width="10" height="10"><img src="shim.gif" width="10" height="10"></td>         </tr>       </table></td>   </tr> </table> </body></html>

Here is the code I need added to the html code:

<!-- Begin FREEDBACK Form --><!-- DO NOT EDIT YOUR FORM HERE, PLEASE LOG IN AND EDIT AT FREEDBACK.COM --><form enctype="multipart/form-data" method="POST" action="http://www.freedback.com/mail.php"><input type="hidden" name="acctid" value="l6n5tentf6q13euc"><input type="hidden" name="formid" value="21815"><input type="hidden" name="required_vars" value="name,email,8d0741366f5fbee57"><table cellspacing="10" cellpadding="10" border="0">	<tr>  <td valign="top"> 	 <b>Name:</b>  </td>  <td valign="top"> 	 <input type="text" name="name" size="40" value="">  </td>	</tr>	<tr>  <td valign="top"> 	 <b>Email Address:</b>  </td>  <td valign="top"> 	 <input type="text" name="email" size="40" value="">  </td>	</tr>	<tr>  <td valign="top"> 	 <b>You have some news we missed? We would love for you to send it in to us! Please add the news below, and please include the sources in which you got it from.</b>  </td>  <td valign="top"> 	 <textarea name="8d0741366f5fbee57" rows="6" cols="40"></textarea>  </td>	</tr>	<tr>  <td colspan="2" align="center"> 	 <input type="submit" value=" Submit Form ">  </td>	</tr></table></form><!-- End FREEDBACK Form -->

Link to comment
Share on other sites

so what is your question? my guess is that you want the contact us page to render at the same width as the homepage. You'll have to define the width of your nested <table> and <td> tags. Plus, I noticed that the parent <table> a width of 780 but a nested one is set to 800 - something needs to be adjusted there to be technically correct.

Link to comment
Share on other sites

your action attribute seems to have some incorrect coding:

The parenthesis-() actually represent sqaure brackets-[]. Its seems that some code from a web forum (maybe this one) was accidently inserted into your code.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...