<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi *<div><br></div><div>Our flagship product has been using SLF4J for years but we're switching to LogBack and so far...loving it!</div><div><br></div><div>We have a question about the CSS builder we could be using for HTML emails.</div><div><br></div><div>We noticed the DefaultCssBuilder and the UrlCssBuilder, however is there a way to either include the CSS in a jar file, or to specify the CSS in the XML file directly?</div><div><br></div><div>Something like:</div><div><br></div><div><meta charset="utf-8"><span class="Apple-style-span" style="font-family: Verdana, Arial, SunSans-Regular, sans-serif; "><pre class="prettyprint source" style="padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(238, 238, 238); font-family: Courier, 'MS Courier New', Prestige, monospace; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(136, 136, 136); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(136, 136, 136); background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; white-space: pre; border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; border-right-color: rgb(136, 136, 136); border-left-color: rgb(136, 136, 136); position: static; z-index: auto; "><span class="pln" style="color: rgb(0, 0, 0); ">&nbsp; </span><span class="tag" style="color: rgb(0, 0, 136); ">&lt;cssBuilder</span><span class="pln" style="color: rgb(0, 0, 0); "> </span><span class="atn" style="color: rgb(102, 0, 102); ">class</span><span class="pun" style="color: rgb(102, 102, 0); ">=</span><span class="atv" style="color: rgb(0, 136, 0); ">"ch.qos.logback.classic.html.<b><u>ExplicitCssBuilder</u></b>"</span><span class="tag" style="color: rgb(0, 0, 136); ">&gt;</span><span class="pln" style="color: rgb(0, 0, 0); "><br>&nbsp; &nbsp; </span><span class="com" style="color: rgb(136, 0, 0); ">&lt;!-- url where the css file is located --&gt;</span><span class="pln" style="color: rgb(0, 0, 0); "><br>&nbsp; &nbsp; </span><span class="tag" style="color: rgb(0, 0, 136); ">&lt;cssText&gt;</span></pre><pre class="prettyprint source" style="padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(238, 238, 238); font-family: Courier, 'MS Courier New', Prestige, monospace; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(136, 136, 136); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(136, 136, 136); background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; white-space: pre; border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; border-right-color: rgb(136, 136, 136); border-left-color: rgb(136, 136, 136); position: static; z-index: auto; "><span class="tag" style="color: rgb(0, 0, 136); ">...the CSS Text itself....</span></pre><pre class="prettyprint source" style="padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(238, 238, 238); font-family: Courier, 'MS Courier New', Prestige, monospace; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(136, 136, 136); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(136, 136, 136); background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; white-space: pre; border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; border-right-color: rgb(136, 136, 136); border-left-color: rgb(136, 136, 136); position: static; z-index: auto; "><span class="tag"></span><span class="tag">    </span><span class="tag" style="color: rgb(0, 0, 136); ">&lt;/cssText&gt;</span><span class="pln" style="color: rgb(0, 0, 0); "><br>&nbsp; </span><span class="tag" style="color: rgb(0, 0, 136); ">&lt;/cssBuilder&gt;</span><span class="pln" style="color: rgb(0, 0, 0); "> </span></pre></span><div><br></div></div><div>Is it something that exists or something that somebody would be willing to provide code or guidelines?</div><div><br></div><div>Many thanks</div><div><br></div><div><br></div><div>Benoit</div><div>Appendium Ltd<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: arial; font-size: small; "><br class="Apple-interchange-newline">--&nbsp;<br>IMPORTANT NOTICE This communication contains information that is considered confidential and may also be privileged . It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and delete the original.</span></span>
</div>
<br></div></body></html>