Can someone please advise me how i go about making the header and footer of my code fixed based on the screen size, and the middle is scrollable. I see some stuff discussing this but no real explanation. I am very much new to coding, hence its a trial error for me. just my fun project keeps me going.
<div class="container-fluid">
<div class="table-responsive">
<table class="table table-striped table-sm table-hover">
<thead>
<tr>
<th nowrap="nowrap" class=" text-center">tes1#</th>
<th nowrap="nowrap" class=" text-center">col2</th>
<th nowrap="nowrap" class=" text-center">col3</th>
<th nowrap="nowrap" class=" text-center">col4</th>
<th nowrap="nowrap" class=" text-center">col6</th>
<th nowrap="nowrap" class=" text-center">col7</th>
<th nowrap="nowrap" class=" text-center">col8</th>
</tr>
</thead>
<tbody>
<!------Item 1-------->
<tr>
<td nowrap="nowrap" class=" text-left">1,001</td>
<td nowrap="nowrap" class=" text-left">Apple</td>
<td nowrap="nowrap" class=" text-left">Fruits</td>
<td nowrap="nowrap" class=" text-left">Red Apple</td>
<td nowrap="nowrap" class=" text-left">Large</td>
<td nowrap="nowrap" class=" text-left">n/a</td>
<td nowrap="nowrap" class=" text-center">Each</td>
</tr>
<!---------Item 2----------->
<tr>
<td nowrap="nowrap" class=" text-left">1,001</td>
<td nowrap="nowrap" class=" text-left">Apple</td>
<td nowrap="nowrap" class=" text-left">Fruits</td>
<td nowrap="nowrap" class=" text-left">Red Apple</td>
<td nowrap="nowrap" class=" text-left">Large</td>
<td nowrap="nowrap" class=" text-left">n/a</td>
<td nowrap="nowrap" class=" text-center">Each</td>
</tr>
<!---------Item 2----------->
<tr>
<td nowrap="nowrap" class=" text-left">1,001</td>
<td nowrap="nowrap" class=" text-left">Apple</td>
<td nowrap="nowrap" class=" text-left">Fruits</td>
<td nowrap="nowrap" class=" text-left">Red Apple</td>
<td nowrap="nowrap" class=" text-left">Large</td>
<td nowrap="nowrap" class=" text-left">n/a</td>
<td nowrap="nowrap" class=" text-center">Each</td>
</tr>
<!---------Item 3----------->
<tr>
<td nowrap="nowrap" class=" text-left">1,001</td>
<td nowrap="nowrap" class=" text-left">Apple</td>
<td nowrap="nowrap" class=" text-left">Fruits</td>
<td nowrap="nowrap" class=" text-left">Red Apple</td>
<td nowrap="nowrap" class=" text-left">Large</td>
<td nowrap="nowrap" class=" text-left">n/a</td>
<td nowrap="nowrap" class=" text-center">Each</td>
</tr>
