<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.17023" name=GENERATOR></HEAD>
<BODY style="WORD-WRAP: break-word">
<DIV id=idOWAReplyText62329 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>&lt;test&gt;does this work&lt;/test&gt;</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Peter Huppertz<BR><B>Sent:</B> Tue 01/06/2010 09:51<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> Re: [Xerte] Using stylesheet in Xerte3<BR></FONT><BR></DIV>
<DIV>I created a simple stylesheet: 
<DIV><BR></DIV>
<DIV>
<DIV>.test {</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>font-size: 32;</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>color: #ff0000;</DIV>
<DIV>}</DIV>
<DIV><BR></DIV>
<DIV>and compiled it using Xerte. In a TextField I now tried</DIV>
<DIV><BR></DIV>
<DIV>&lt;span class="test"&gt;This is my text&lt;/span&gt;&nbsp;</DIV>
<DIV><BR></DIV>
<DIV>The text is neither red nor big. I also tried &lt;p class="... and &lt;div class=".... no luck. Any ideas what's going wrong?</DIV>
<DIV><BR></DIV>
<DIV>Peter<BR>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV><BR>
<DIV>
<DIV>On 21.05.2010, at 16:39, Julian Tenney wrote:</DIV><BR class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV>
<DIV id=idOWAReplyText87475 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>1 - yes</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>2 - create it anywhere you like</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>3 - yes, it will create styles.swf and set up the property on the application icon</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>4 - see above</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>5 - yes</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Don't know about fonts - I've not tried that yet, so let me know what you find out,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>J</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> <A href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</A> on behalf of Peter Huppertz<BR><B>Sent:</B> Thu 20/05/2010 17:25<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> [Xerte] Using stylesheet in Xerte3<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Sorry for asking so many questions regarding Xerte3 ... I guess it's mainly you, Julian, who is the one who can answer them.<BR>I already wrote regarding the use of stylesheets in Xerte3 and had a look at the example file. But I'm not 100% sure about the process to embed the stylesheet. I guess it should be something like this:<BR><BR>1) Extract Flex4 SDK to Xerte3Editor/bin/flex4sdk<BR>2) Create a stylesheet style.css in /myproject/styles/<BR>3) Open this file using Compile Style Sheet from the Xerte3 menu (will this generate the .swf?)<BR>4) Load generated Stylesheet as property "styleSheet" in the XerteApplication icon<BR>5) Apply styles using the property styleName on icons (is it also possible to use &lt;span style="myStyle"&gt;Text&lt;/span&gt; in Text?)<BR><BR>Questions:<BR>- is the above mentioned way the way it should work?<BR>- Does this also embed the used fonts? If not: how can I embed fonts?<BR><BR>Thanks for your help,<BR><BR>Peter<BR><BR>==================================<BR>Peter Huppertz<BR>E-learning and IT Specialist<BR>International Centre for Asset Recovery<BR>Basel Institute on Governance<BR>Phone: +41 61 205 55 18<BR>Fax: +41 61 267 55 19<BR><BR>_______________________________________________<BR>Xerte mailing list<BR><A href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</A><BR><A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR></FONT></P></DIV></DIV>_______________________________________________<BR>Xerte mailing list<BR><A href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</A><BR>http://lists.nottingham.ac.uk/mailman/listinfo/xerte<BR></BLOCKQUOTE></DIV><BR>
<DIV>
<DIV>==================================</DIV>
<DIV>Peter Huppertz</DIV>
<DIV>E-learning and IT Specialist</DIV>
<DIV>International Centre for Asset Recovery</DIV>
<DIV>Basel Institute on Governance</DIV>
<DIV>Phone: +41 61 205 55 18</DIV>
<DIV>Fax: +41 61 267 55 19</DIV></DIV><BR></DIV></DIV></DIV></DIV></BODY></HTML>