Borders

Discussion in 'Web Design & Coding' started by Andy, Apr 21, 2005.

  1. Andy

    Andy Meep.

    Messages:
    409
    Location:
    UK
    The borders on the tables on my site aren't playing nice.
    Dreamweavers' browser-check thinger is telling me I havent coded the border properties right, and the odd line is showing up black, and not 'clear', as I so desire.

    Can someone inform me as to the correct way to code 'em?

    Code:
    <table width="100%" height="100%" border="0" align="center">
      <tr> 
        <td><div align="center"> 
            <table width="300" border="0" cellpadding="5" style="border-width: 0">
              <tr> 
                <td height="86" style="border-style:none; border-width:medium; "> 
                  <div align="right"></div>
                  <table border="1" cellpadding="0" cellspacing="0" style="border-width:0; border-collapse: collapse" bordercolor="#111111" width="18%" height="22">
                    <tr>
                      <td width="100%" height="19" style="border-style: none; border-width: medium">
                        <p align="center"><img border="0" src="top.jpg" width="281" height="26" /></p></td>
                    </tr>
                    <tr>
                      <td width="100%" height="19" style="border-style: none; border-width: medium">
                        #SITE NAVIGATION#
                    </tr>
                    <tr>
                      <td width="100%" height="19" style="border-style: none; border-width: medium"> <img border="0" src="bottom.jpg" width="281" height="20" /></td>
                    </tr>
                  </table>              </td>
              </tr>
            </table>
          </div></td>
      </tr>
    </table>