Custom PDF CSS stylesheet overriden

XMLWordPrintable

      If you change the font-size in your custom PDF stylesheets, when you export a page to PDF, it does not have any effect in the generated document. It must get overridden later as adding the attribute !important make it work.

      For example, this CSS does not have any effect in the generated PDF file.

      body {
         font-size: 6pt;
      }

      To make it work, you need ot add the important attribute, as the example bellow:

      body {
         font-size: 6pt !important;
      }

      This also happens for other parameters (i.e.: text-decoration).

      Custom CSS should not be overridden by default ones.

            Assignee:
            Steve Haffenden (Inactive)
            Reporter:
            Alejandro Conde Carrillo (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: