Why are there still gaps even between text rows in tables when the layout engine is in the Standards mode or in the Almost Standards mode?
In the Standards mode and in the Almost Standards mode Mozilla does not suppress the default margins of the first and last child element in table cells. Therefore, the default margins for paragraphs apply even with markup such as
foo
. Often the content of a cell in a table of tabular data does not constitute a paragraph. In that case, the easy solution is not to mark the contents of the cell as a paragraph. When the paragraph markup is called for but the default margins are unwanted, zero margins can be suggested using CSS.