I have a table with a few rows. I'm trying to set the height of the 1st and 3rd rows to 1px and keep the 2nd row at normal height. However, my code isn't working as expected.
Here is the HTML CODE:
<table border="0">
<tr style="height:1px;" >
<td width="10"><hr></td>
</tr>
<tr style="height:20px;" >
<td width="10">Hello</td>
</tr>
<tr style="height:1px;" >
<td width="10"><hr></td>
</tr>
</table>
Could someone please help me figure out how to achieve this?
Note: I do not want to use borders because for certain rows, I may or may not need a horizontal line inside the row.