CSS – Is there a way to create HTML content that doesn’t overlap on the footer?

  • Home / Blog / CSS – Is…

CSS – Is there a way to create HTML content that doesn’t overlap on the footer?

I’m developing an HTML code that I render ITextRenderer() To create a PDF.

I need to have a specific footer in each page of the PDF. However, the content covers the footer.

I have the following CSS:

body {
            font-family: Arial Unicode MS, Lucida Sans Unicode, Arial, sans-serif;
            line-height: 1.2;
            page-break-before: always;
            bottom: 10px;
            margin: auto;
}
@media print {
  div.divFooter {
        position: fixed;
        bottom: 0;
        height: 90px;
}

Write a Comment

Your email address will not be published. Required fields are marked *

x