Website not aligned and button too low

Hi all, I am new to PHP and I requesting for some help.
my website is not aligned on the right side borders and the “learn more” is too low.

Can anyone help me in doing up the correct php codes?

Thanks a lot for your help. Website is www.nbis-wines.com

[php]

 

<?php include "content/latest.html" ?>
 
 
<?php include "content/wotm.html"; ?>
          </td>
      </tr>
    </table></td>
    <td width="10">&nbsp;</td>
    <td width="300" valign="top" style="background-image:url(assets/promo_bgd.jpg);"><table width="30" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="assets/promo_pad_top.jpg" width="300" height="20"></td>
      </tr>
      <tr>
        <td style="background-image:url(assets/promo_bgd.jpg); background-repeat:repeat-y"><table width="300" border="0" cellspacing="0">
          <tr>
            <td width="15" height="550" valign="top"><p>&nbsp;</p></td>
            <td width="270" valign="top"><?php include "content/promos.html"; ?></td>
            <td width="15" valign="top">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
  <table width="920" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="300" align="left">&nbsp;</td>
      <td width="10">&nbsp;</td>
      <td width="300" align="left">&nbsp;</td>
      <td width="10">&nbsp;</td>
      <td width="300" height="20" align="left" style="background-image:url(assets/promo_bgd.jpg);"><a href="index.php?pg=promos" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Learn More Promos','','assets/btn_learn_ovr.png',1)"><br>
        <br>
      <img src="assets/btn_learn.png" name="Learn More Promos" width="150" height="20" border="0"></a></td>
    </tr>
  </table>
  <table width="920" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="300" align="left">&nbsp;</td>
      <td width="10">&nbsp;</td>
      <td width="300" align="left">&nbsp;</td>
      <td width="10">&nbsp;</td>
      <td width="300" align="left" style="background-image:url(assets/promo_pad_btm.jpg); background-repeat:no-repeat">&nbsp;</td>
    </tr>
  </table>
</td>
[/php]

You have some serious issues with this site.

There are multiple validation errors look at the w3c validation

You are also using tables for display and they are not intended for this you should be using div’s.

Correct your validation errors and then see how the site is then you will probably find that it gets you very close.

Sponsor our Newsletter | Privacy Policy | Terms of Service