• Hey,

    I’m trying to rotate the text with such code from mPDF documentation:

    <div style="position: fixed; left: 0mm; top: 0mm; rotate: -90;">
    test
    </div>

    That works just fine in index template, but I want to have rotated text in header on each page and when i’m adding it with position:fixed it appears only on page one of course.

    I have also tried rotation via <table rotate=”-90″> , but it works only in dkpf-index.php . When i’m adding it to header or footer – the table is visible on each page but the text is not rotated…

    I’ve checked mPDF documentation that you can use table with rotate function, but i can’t understand why it doesn’t work in header/footer templates..

    Any help?

    • This topic was modified 7 years, 10 months ago by MI.
Viewing 1 replies (of 1 total)
  • Plugin Author dinamiko

    (@dinamiko)

    Hi MI, sorry for the delay,

    can you post an URL where I can see the it?

    one note, header/footer and PDF content are separate pieces of code in mPDF, so maybe the rotation feature can only be applied to the PDF content.

    Thanks,
    Emili

Viewing 1 replies (of 1 total)
  • The topic ‘Rotate text in header/footer’ is closed to new replies.