table-collapse-1-ref.html 444 B

12345678910111213141516171819202122232425
  1. <!doctype html>
  2. <html><head>
  3. <title>Table border collapse</title>
  4. <style>
  5. table {
  6. border: 2px solid black;
  7. border-collapse: collapse;
  8. }
  9. td {
  10. border: 2px solid black;
  11. width: 50px;
  12. height: 50px;
  13. }
  14. </style>
  15. </head>
  16. <body>
  17. <table>
  18. <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
  19. <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
  20. <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
  21. </table>
  22. </body></html>