3 Replies Latest reply on Feb 11, 2010 10:11 AM by osgood_

    Gap between header and body

    bffinn

      Page:
      www.megamarketingtools.com/problem.html

       

       

      That small gap (looks like a black line) is driving me crazy.
      I searched these forums but the suggestions I found didn't

      do anything for me.

       

      Help, please.

       

      Thank you.

        • 1. Re: Gap between header and body
          osgood_ Level 8

          bffinn wrote:

           

          Page:
          www.megamarketingtools.com/problem.html

           

           

          That small gap (looks like a black line) is driving me crazy.
          I searched these forums but the suggestions I found didn't

          do anything for me.

           

          Help, please.

           

          Thank you.

           

          Your code is screwed up. Try the amended version below:

           

           

          <!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>MegaMarketing One Time Offer</title>

           

          <link href="scripts/ototemp/Template8/Blue/style.css" rel="stylesheet" type="text/css" />

           

          <style type="text/css">

           

          <!--

           

          .copywrite { font-size: x-small; }

           

          .moretext { font-size: 12px; }

           

          -->

           

          </style>

           

          <link href="otostyle.css" rel="stylesheet" type="text/css" />

           

          </head>

           

          <body>

           

          <table width="750" border="0" align="center" cellpadding="0" cellspacing="0">

           

            <tr>

           

            <td width="750" height="270" valign="bottom" background="scripts/ototemp/Template8/Blue/images/header.jpg" border="0"> </td> 

           

          </tr>

           

            <tr>

           

              <td align="left" valign="top" background="scripts/ototemp/Template8/Blue/images/page-inside-bg.jpg"> </td>

           

              </tr>

           

          </table>

           

          </body>

           

          </html>
          • 2. Re: Gap between header and body
            bffinn Level 1

            Thank you.

             

            When I put all the original code back together (the page was done), all I had to do was remove the <hr />.  I didn't think of that because it was there before and the page was fine.  All I did was change some of the text and edit a couple images, and then the problem came about.

            • 3. Re: Gap between header and body
              osgood_ Level 8

              bffinn wrote:

               

              Thank you.

               

              When I put all the original code back together (the page was done), all I had to do was remove the <hr />.  I didn't think of that because it was there before and the page was fine.  All I did was change some of the text and edit a couple images, and then the problem came about.

               

              Actually in your original code you had no closing </html> tag and several unclosed <tr> <td> tags plus the <hr> tag, you mentioned. The <hr> tag was only part of the issue. It may have worked by just removing the <hr> tag but it would'nt have been long before those other errors would present more problems.