Hello flashers
I’ve loaded xml into text field and I want to assign CSS style with it…
I know I can load whole XML into one text field and than assign css to it but what i am doing is to load titles into title tf, than content into content tf, like this
title._tf.htmlText = titlesArray[0]
content_tf.htmlText =contentArray[1]
First I parse XML into array than load partial text into tf.
CSS is like:
p { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; color:#0000FF; }
.title { font-size:14px; font-weight:bold; }
.content { color:#000099; text-decoration:underline; }
XML is:
Some text Some text Some text Some text[code/]
P.S. Sorry for multiple submits, let moderator delete the rest... :( this forum seams to not allow opening or closing tags within XML
XML is regular with title and content tags...