I am facing an issue where I need to apply a border to two specific rows in a table after it has loaded. These two rows are consistent every time the table is loaded. The code snippet below works, but the default line breaks between the table rows prevent me from using a border thickness less than 2px. A 2px border appears too heavy for my requirements, while a 1px border does not show up against the default black lines.
This is the code I currently have:
$('#table-selections tr:eq(5)').css('border-bottom','2px dashed black');
$('#table-selections tr:eq(5)').css('border-top','2px dashed black');
$('#table-selections tr:eq(17)').css('border-bottom','2px dashed black');
This method of adding a border is not elegant and fails to override the default lines between the rows.
edit:
I've created a fiddle here showcasing how 1px doesn't work while 2px does