Page 1 of 1
New Report Text
Posted: Tue Oct 15, 2013 8:02 pm
by kgoodarzi
Hello,
Does the HTML code in Standard Report Text support Stylesheets or CSS by any chance? Also, can I put anything there that is supported by my browser? Thanks,
Re: New Report Text
Posted: Wed Oct 16, 2013 12:06 am
by justin
Hi,
For security reasons, OnePacs only allows inline style properties but not style tags or css/javascript imports.
For example, the following style could be used inline to make text red:
Code: Select all
<div style="color: red"> test1 </div>
We strongly recommend NOT specifying a font in standard reporting texts. Instead, it is recommended that the report template specify the font for consistency. That way the standard report texts' font will match the font of text entered manually in the report editor.
To a lesser extent, this is also recommended for font size. The "default" font size should be defined in the report template and the standard reporting texts should only include size values for text that is larger - like headers, for example.
Best,
Justin