How can I hide an HTML table row <tr> so that it takes up no space?

MikeN picture MikeN · Jul 17, 2009 · Viewed 405.4k times · Source

How can I hide an HTML table row <tr> so that it takes up no space? I have several <tr>'s set to style="display:none;", but they still affect the size of the table and the table's border reflects the hidden rows.

Answer

Calvin picture Calvin · Jul 17, 2009

Can you include some code? I add style="display:none;" to my table rows all the time and it effectively hides the entire row.