Forum How do I...?

inline css styles, only for Prince PDF output

ixgal
hi,
I am using the same source both for PDF output (with Prince) and web.
In some cases it would be very useful to add inline styles (for example width in cm) that only affects the PDF output (built with Prince).
Is there a way to do it? If I just add style="width:2cm;" then I will not only get this on the PDF, but also on the web.
Thanks!
mikeday
I don't think this is possible with the style attribute, you will need to put it in a style element so you can wrap it up in @media print.