Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 8th, 2006, 12:23 PM
Authorized User
 
Join Date: Sep 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default HTML Tables move

I wrote this html file which has 2 links...

1- Index
2- Contact us

I'm using the same html file for both links...i wrote the index, and did a save as, and call it contactus...i'm doing this because i'm noticing the tables move when i go from link to link eventhough they are the same file...

the first time i open it, it looks fine...however when i'm in the index and i click contact us, the table moves slightly to the left...i don't want that to happen and i have no clue of how to fix it...

Code:
<html>
<head>
<title>Tables</title>
<style type="text/css">
<!--
body {
    background-color: #FFFFFF;
}
-->
</style></head>
<body LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<table width="572" height="600" border="1" align="center">
  <tr>
    <td width="130">&nbsp;</td>
    <td width="442">&nbsp;</td>
  </tr>
   <tr>
    <td width="130">
        <p>&nbsp;</p>
        <p>&nbsp;</p>
        <p>&nbsp;</p>
        <table width="125" border="0">
            <tr>
                <td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="index2.htm">Index</a></td>
            </tr>
            <tr>
                <td width="60">&nbsp;</td>
            </tr>
            <tr>
                <td width="62">&nbsp;</td>
            </tr>
            <tr>
                <td> &nbsp; &nbsp; &nbsp; <a href="contactus3.htm">Contact Us</a></td>
            </tr>
     </table>    </td>
    <td width="442"> &nbsp;
      <p>&nbsp;</p>
      <p>&nbsp;</p>      <table width="303"  border="1" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="303" height="372"><p>&nbsp;</p>
          <p>s</p>                    
          <p>s</p>
          <p>s</p>
          <p>s</p>
          <p>&nbsp;</p>
          <p>s</p>
          <p>s</p></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
 
Old August 8th, 2006, 01:05 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

When you click the Contact Us link you go to another page. So I guess that other page, contactus3.htm, is slightly different than the index page.

--
http://yupapa.com
 
Old August 8th, 2006, 01:16 PM
Authorized User
 
Join Date: Sep 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

no it's not because the contactus page is a save as from the index...so they are both the same

 
Old August 8th, 2006, 01:23 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

So do both pages have exactly the same content too?

--
http://yupapa.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Two HTML Tables and Two XSLT with Two XML? gman44 XSLT 1 March 1st, 2006 04:53 AM
Re: Dynamic html tables with xsl? purple XSLT 0 November 2nd, 2005 12:01 PM
Creating HTML tables dynamically dotnet cat ASP.NET 1.0 and 1.1 Basics 1 August 25th, 2005 10:58 PM
move tables from one schema to another scehma haahoou Oracle 0 January 19th, 2004 05:48 AM
printing color in html tables Fletcher HTML Code Clinic 2 August 18th, 2003 01:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.