I have a snippet of HTML that showcases a grid-like structure. It's mostly how I want it to be, but I would like the last three rows to have a dotted underline. I attempted to achieve this using the following styling:
style="border-bottom:dotted; border-bottom-color: black; border-bottom-width:2px"
However, it doesn't seem to have any effect at all, even when adjusting the width. What am I overlooking?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8>
<title></title>
</head>
<body>
<div id="AnimalGrid" style="border:solid; border-width:2px; border-color:lightgray; padding-left:12px;padding-top:8px;margin:10px">
<table style="width:100%">
<tr>
<td style="font-family:Calibri; font-size:large; color:midnightblue; text-align:left"><b>RESULT DETAILS</b></td>
</tr>
<tr>
<td style="width:25%; font-size:large; padding-left: 2px"><i>Animal<sup>1</sup></i></td>
<td style="width:25%; font-size:large; padding-left: 6px"><i>Animal</i></td>
<td style="width:25%; font-size:large; padding-left: 6px"><i>Speed<sup>2</sup></i></td>
<td style="width:25%; font-size:large; padding-left: 6px"><i>Type<sup>3</sup></i></td>
</tr>
<tr style="border-bottom-style:dotted; border-bottom-color: black; border-bottom-width:2px">
<td style="width:25%; font-size:large; padding-left: 6px">Cheetah</td>
<td style="width:25%; font-size:large; padding-left: 6px">Tiger</td>
<td style="width:25%; font-size:large; padding-left: 6px">60mph</td>
<td style="width:25%; font-size:large; padding-left: 6px">Carnivore</td>
</tr>
<tr style="border-bottom:dotted; border-bottom-color: black; border-bottom-width:2px">
<td style="width:25%; font-size:large; padding-left: 6px">Lion</td>
<td style="width:25%; font-size:large; padding-left: 6px">Zebra</td>
<td style="width:25%; font-size:large; padding-left: 6px">40mph</td>
<td style="width:25%; font-size:large; padding-left: 6px">Mixed</td>
</tr>
<tr style="border-bottom:dotted; border-bottom-color: black; border-bottom-width:2px">
<td style="width:25%; font-size:large; padding-left: 6px">Horse</td>
<td style="width:25%; font-size:large; padding-left: 6px">Cow</td>
<td style="width:25%; font-size:large; padding-left: 6px">10mph</td>
<td style="width:25%; font-size:large; padding-left: 6px">Herbivore</td>
</tr>
</table>
</div>
</body>
</html>