My div contains a table with a height of 500px, showing 20 rows before a vertical scroll bar appears.
However, this behavior becomes inconsistent on high-resolution screens, displaying more than 20 rows. How can I ensure consistency regardless of device resolution?
Is there a jQuery method available to address this issue?
<div class="col-sm-12" style="padding-left:0px; padding-right:0px; height:500px;overflow-y:scroll;width:50%;">
<table id="physician-table-body" class="table table-bordered table-icon" style="width:100%">
<tbody id="physicianTableData"></tbody>
</table>
</div>