I have a Bootstrap page and I want to print it in A4 size. I have few elements which I don't want to print from this page, I am using this solution to achieve this:
@media print
{
.no-print, .no-print *
{
display: none !important;
}
}
How do I hide an element when printing a web page?
However when I use this, my structure of the page changes. That means if I skip say a text element, then at printing, that space is taken by another element. It should not happen.
I want to print this web page on a certificate template of A4 size.