[thelist] table borders

Hassan Schroeder hassan at webtuitive.com
Sat Jul 6 08:13:01 CDT 2002


Erick Papadakis wrote:

> but this technique is useless if i use a different
> rows and columns, e.g.
>
>   -------------------------
>   |  |                    |
>   -------------------------
>   |                       |
>   |                       |
>   -------------------------
>
> because in this case the outer border is meaningless
> for the inner table.

Much as I'd try to discourage using nested tables, you can address
this by changing that sample code as follows:

<table border="0" cellspacing="0" cellpadding="0">
  <tr bgcolor="#000000">
    <td>
      <table width="100%" border="0" cellspacing="1" cellpadding="3">
        <tr bgcolor="#FFFFFF">
          <td>&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
        </tr>
		<tr bgcolor="#FFFFFF">
           <td colspan="2">&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
</table>

FWIW!
--
H*
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

    -- creating dynamic Web sites and applications since 1994 --



More information about the thelist mailing list