form { margin-bottom: 2ex; } table { border-collapse: collapse; border: 1px solid black; } thead { border-bottom: 1px solid black; } th, td { border: 1px solid black; padding: 2px 5px; } td:last-child { text-align: right; } input[name='pni-threshold'] { text-align: right; }