0

I've got a HTML table with several cells inside, the border=0 property is set yet the border does not go away, what am I doing wrong?

<table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
  <tr>
    <td>
      <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">    
        <tr>
          <td>
            <br><br>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table> 
Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Alexand657
  • 115
  • 1
  • 3
  • 12
  • Try this [How to completely remove borders from html table][1] [1]: http://stackoverflow.com/questions/5684144/how-to-completely-remove-borders-from-html-table – dataol Jan 24 '13 at 01:10

1 Answers1

0

Change the first cell spacing to 0

So here's the code:

<table width="500" border="0" align="center" cellpadding="0" cellspacing="0"     
bgcolor="#CCCCCC">
<tr>

<td>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">

<tr>
<td><br>
<br></td>
</tr>


</table>
</td>

</tr>
</table> 
leeroyc
  • 41
  • 3