change the font of textarea control after print

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

change the font of textarea control after print

kotharv
hello,

i need the font of plain text area control to be in courier sans on the
print pdf(automatic generation PDF)

could you help, to frame the custom CSS.

i tried as below and few different ways,

 @media print
            {
               .xforms-form .xforms-textarea, .xforms-textarea textarea
            {
            font-family: Courier New;
            }
}

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: change the font of textarea control after print

Erik Bruchez
Administrator
As a first step, did you check this:

    https://doc.orbeon.com/form-runner/styling/automatic-pdf.html

Are you able to change the font in the browser with the Chrome Dev tools and
the "print" CSS media?

-Erik

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].