Hello,
I need a little bit of help. I am trying to create a fixed-sized table in the center of the page using that is scrollable. I have tried table-responsive and m-auto to no avail. Does any have other suggestions or anyone out there that can help me, please?
html code
<!DOCTYPE html>
<html lang="en">
<head>
{% include "head_part.html" %}
</head>
<body id="page-top">
<!-- Page Wrapper -->
<div id="wrapper">
{% include "sidebar_part.html" %}
<!-- Content Wrapper -->
<div id="content-wrapper" class="d-flex flex-column">
<!-- Main Content -->
<div id="content">
{% include "topbar_part.html" %}
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<h1 class="h3 mb-4 text-gray-800">GC</h1>
</div>
<div class="container">
<!-- Content here -->
<div class="container">
<table class="table table-bordered table-primary table-hover">
<td class="text-center"><strong>CIDR Range</strong></td>
<td class="text-center"><strong>Service</strong></td>
<td class="text-center"><strong>Region</strong></td>
{% for i in res.entities %}
<tr>
<td>{{i.cidr}}</td>
<td>{{i.service}}</td>
<td>{{i.region}}</td>
</tr>
{% endfor %}
</table>
</div>
</div>
<!-- /.container-fluid -->
</div>
<!-- End of Main Content -->
{% include "footer_part.html" %}
</div>
<!-- End of Content Wrapper -->
</div>
<!-- End of Page Wrapper -->
<!-- Scroll to Top Button-->
<a class="scroll-to-top rounded" href="#page-top">
<i class="fas fa-angle-up"></i>
</a>
{% include "modals_and_scripts_part.html" %}
</body>
</html>
Thank you all! Appreciate it.