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

Issue

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.

Solution

I would really like to see your TABLE’s styling. E.g. “border-collapse”

Just a guess, but it might affect how ‘hidden’ rows are being rendered.

Answered By – o.k.w

Answer Checked By – David Goodson (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.