I am needing to generate a report based on some data. However, I want to be able to print off on paper just the report part of the page, excluding the page background, navbar, and things of that nature. How can I go about printing just the table/report section when the user presses a button?
You don’t need Bootstrap to do this. The @media CSS rule can be used to create custom styling for a page when it is being printed. You can hide whatever you want by making CSS rules nested under @media print
I advise doing what @RustyToms says. But if you alreday are using bootstrap, you might as well take advantage of the css provided by it. Here is a link: Redirecting…