3 Replies Latest reply on Aug 18, 2007 1:16 PM by Newsgroup_User

    Line appearing between tables?

    mbaboy
      A line is appearing between tables that I can't get rid of. I can't seem to make the tables touch. I took a screen of it; I don't want that line to be there in the white:

      http://aycu19.webshots.com/image/26338/2005650946393136015_th.jpg
        • 1. Re: Line appearing between tables?
          Level 7
          Show us the code please.

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "mbaboy" <webforumsuser@macromedia.com> wrote in message
          news:fa53gp$o1s$1@forums.macromedia.com...
          >A line is appearing between tables that I can't get rid of. I can't seem to
          > make the tables touch. I took a screen of it; I don't want that line to be
          > there in the white:
          >
          > http://aycu19.webshots.com/image/26338/2005650946393136015_th.jpg
          >


          • 2. Re: Line appearing between tables?
            mbaboy Level 1
            Ok, here's the code. I'm a n00b, so my code is very inefficient. I barely know how to read code, so I apoligize in advance if I gave you too much. Basically there is a table on top with two cells for the banner, and one below it for the sidebar with a few cells. The problem comes between the two tables. Thanks a lot.
            • 3. Re: Line appearing between tables?
              Level 7
              You have a mistake here -

              <td width="170" height="150" valign="top" class="sidebar_buttons"><a
              href="index.html" onmouseout="MM_swapImgRestore()"
              onmouseover="MM_swapImage('Home','','global/nav/homebar_rollover.png',1)"><a
              href="index.html" onmouseout="MM_swapImgRestore()"
              onmouseover="MM_swapImage('Home','','global/nav/homebar_rollover.png',1)"><a
              href="index.html" onmouseout="MM_swapImgRestore()"
              onmouseover="MM_swapImage('Home','','global/nav/homebar_rollover.png',1)"><img
              src="global/nav/homebar_norm.png" alt="Home" name="Home" width="130"
              height="30" border="0" id="Home" /></a></a></td>

              Note the nested <a> tags ----------------^^^^^^^^

              That's wrong. Each <a> tag must be properly terminated -

              <td width="170" height="150" valign="top" class="sidebar_buttons"><a
              href="index.html" onmouseout="MM_swapImgRestore()"
              onmouseover="MM_swapImage('Home','','global/nav/homebar_rollover.png',1)"><img
              src="global/nav/homebar_norm.png" alt="Home" name="Home" width="130"
              height="30" border="0" id="Home" /></a></td>

              In fact, two of them were redundant, and I deleted them.

              Perhaps your line is coming from the spacer row at the bottom of the top
              table?

              <tr><td height="1"><img src="spacer.png" alt="" width="170" height="1"
              /></td><td><img src="spacer.png" alt="" width="530" height="1"
              /></td><td></td></tr>
              </table>

              ?

              Change this by removing the entire row -

              </table>

              and see what happens.

              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.dreamweavermx-templates.com - Template Triage!
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
              ==================


              "mbaboy" <webforumsuser@macromedia.com> wrote in message
              news:fa755p$1qi$1@forums.macromedia.com...
              > Ok, here's the code. I'm a n00b, so my code is very inefficient. I barely
              > know
              > how to read code, so I apoligize in advance if I gave you too much.
              > Basically
              > there is a table on top with two cells for the banner, and one below it
              > for the
              > sidebar with a few cells. The problem comes between the two tables. Thanks
              > a
              > lot.
              >
              > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
              > " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
              > <html xmlns=" http://www.w3.org/1999/xhtml">
              > <head>
              > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
              > <title>CoreFitness Personal Training</title>
              > <link href="styles.css" rel="stylesheet" type="text/css" />
              > <script type="text/javascript">
              > <!--
              > function MM_swapImgRestore() { //v3.0
              > var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a )&&x.oSrc;i++)
              > x.src=x.oSrc;
              > }
              > function MM_preloadImages() { //v3.0
              > var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
              > var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
              > i<a.length;
              > i++)
              > if (a
              .indexOf("#")!=0){ d.MM_p[j]=new Image;
              > d.MM_p[j++].src=a ;}}
              > }
              >
              > function MM_findObj(n, d) { //v4.01
              > var p,i,x; if(!d) d=document;
              > if((p=n.indexOf("?"))>0&&parent.frames.length) {
              > d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
              > if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
              > x=d.forms
              [n];
              > for(i=0;!x&&d.layers&&i<d.layers.length;i++)
              > x=MM_findObj(n,d.layers .document);
              > if(!x && d.getElementById) x=d.getElementById(n); return x;
              > }
              >
              > function MM_swapImage() { //v3.0
              > var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array;
              > for(i=0;i<(a.length-2);i+=3)
              > if ((x=MM_findObj(a
              ))!=null){document.MM_sr[j++]=x; if(!x.oSrc)
              > x.oSrc=x.src; x.src=a[i+2];}
              > }
              >
              > //-->
              > </script>
              > </head>
              >
              > <body
              > onload="MM_preloadImages('global/nav/homebar_rollover.png','global/nav/about_rol
              > lover.png','global/nav/contact_rollover.png','global/nav/trainers_rollover.png')
              > "><table width="100%" border="0" cellpadding="0" cellspacing="0"
              > class="banner">
              > <!--DWLayoutTable-->
              > <tr>
              > <td width="170" height="100" valign="top" class="sidebar_topend"><img
              > src="global/banner/logo_left.png" alt="CoreFitness" width="170"
              > height="100"
              > /></td>
              > <td width="530" valign="top" bgcolor="#6600FF"><img
              > src="global/banner/logo_right.png" alt="CoreFitness" width="530"
              > height="100"
              > /></td>
              > <td width="100%" valign="top"><!--DWLayoutEmptyCell--> </td>
              > </tr><tr><td height="1"><img src="spacer.png" alt="" width="170"
              > height="1"
              > /></td><td><img src="spacer.png" alt="" width="530" height="1"
              > /></td><td></td></tr>
              > </table>
              > <table width="170" border="0" cellpadding="0" cellspacing="0"
              > class="sidebar">
              > <!--DWLayoutTable-->
              > <tr>
              > <td width="170" height="150" valign="top" class="sidebar_buttons"><a
              > href="index.html" onmouseout="MM_swapImgRestore()"
              > onmouseover="MM_swapImage('Home','','global/nav/homebar_rollover.png',1)"><a
              > href="index.html" onmouseout="MM_swapImgRestore()"
              > onmouseover="MM_swapImage('Home','','global/nav/homebar_rollover.png',1)"><a
              > href="index.html" onmouseout="MM_swapImgRestore()"
              > onmouseover="MM_swapImage('Home','','global/nav/homebar_rollover.png',1)"><img
              > src="global/nav/homebar_norm.png" alt="Home" name="Home" width="130"
              > height="30" border="0" id="Home" /></a></a></td>
              > </tr>
              > <tr>
              > <td height="30" valign="top" class="sidebar_buttons"><a href="#"
              > onmouseout="MM_swapImgRestore()"
              > onmouseover="MM_swapImage('About','','global/nav/about_rollover.png',1)"><img
              > src="global/nav/about_norm.png" alt="About" name="About" width="130"
              > height="30" border="0" id="About" /></a></td>
              > </tr>
              > <tr>
              > <td height="30" valign="top" class="sidebar_buttons"><a href="#"
              > onmouseout="MM_swapImgRestore()"
              > onmouseover="MM_swapImage('Trainers','','global/nav/trainers_rollover.png',1)"><
              > img src="global/nav/trainers_norm.png" alt="Trainers" name="Trainers"
              > width="130" height="30" border="0" id="Trainers" /></a></td>
              > </tr>
              > <tr>
              > <td height="31" valign="top" class="sidebar_buttons"><a href="#"
              > onmouseout="MM_swapImgRestore()"
              > onmouseover="MM_swapImage('Contact','','global/nav/contact_rollover.png',1)"><im
              > g src="global/nav/contact_norm.png" name="Contact" width="130" height="30"
              > border="0" id="Contact" /></a></td>
              > </tr>
              > <tr>
              > <td height="300" class="sidebar_buttons"> </td>
              > </tr>
              > </table>
              > </body>
              > </html>
              >