What seems to work for me is to put a td in the row below with display:none
<table>
<tr>
<td rowspan="2">2 rows</td>
<td>1 row</td>
</tr>
<tr>
<td style="display:none"></td>
<td>1 row</td>
</tr>
</table>
More Related Contents:
- CSS negation pseudo-class :not() for parent/ancestor elements
- How can I select the last element with a specific class, not last child inside of parent?
- Several elements with the same ID responding to one CSS ID selector
- How to target a specific column or row in CSS Grid Layout?
- CSS :selected pseudo class similar to :checked, but for elements
- Matching the first/nth element of a certain type in the entire document
- Using CSS :before and :after pseudo-elements with inline CSS?
- How can I correctly select the first or the last child with CSS?
- Using :before and :after CSS selector to insert HTML [duplicate]
- What is syntax for selector in CSS for next element?
- :nth-child(even/odd) selector with class [duplicate]
- How to CSS: select element based on inner HTML [duplicate]
- What is the performance impact of the universal selector?
- What are the priorities among CSS selectors
- Why is nth-child selector not working?
- Can a dynamic class be styled using CSS? [duplicate]
- Can a ::before selector be used with a ?
- Avoiding repeated constants in CSS
- What is the ::content/::slotted pseudo-element and how does it work?
- Select second last element with css
- Why does the general-sibling combinator allow toggling pseudo-element’s content, but not the adjacent-sibling?
- How to get CSS to select ID that begins with a string (not in Javascript)?
- How do I select an element that has a certain class?
- Selecting the last element among various nested containers
- Is there a reason to use a instead of a:link or a:visited in my stylesheet?
- Zebra striping a flexbox table with wrapping items
- Is there a CSS not equals selector?
- How can I select elements in CSS by partial ID value?
- How can I get a specific number child using CSS?
- Why does .class:last-of-type not work as I expect?