Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Table cells collapse incorrectly when using colspan

  • 1 balasan
  • 7 ada masalah ini
  • 2 paparan
  • Balasan terakhir oleh cor-el

more options

I'm trying to create a table layout using the following:

Image Image
Image Image

It should look like:

1 | 2  2
1   1 | 2

Instead it looks like:

1    | 2  2
1  1 | 2

Since there are no rows with all 3 cells the middle cell vanishes (same effect using display:none).

I'm trying to create a table layout using the following: <table> <tr> <td>Image</td> <td colspan="2">Image</td> </tr> <tr> <td colspan="2">Image</td> <td>Image</td> </tr> </table> It should look like: 1 | 2 2 1 1 | 2 Instead it looks like: 1 | 2 2 1 1 | 2 Since there are no rows with all 3 cells the middle cell vanishes (same effect using display:none).

All Replies (1)

more options

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.

The helpers at that forum are more knowledgeable about web development issues.

You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25