# Weird render html

**URL:** <https://forum.kirupa.com/t/weird-render-html/282836>\
**Category:** Uncategorized\
**Created:** [February 26, 2009, 11:26pm UTC](https://forum.kirupa.com/t/weird-render-html/282836 "2009-02-26T23:26:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![asthyanax](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@asthyanax](https://forum.kirupa.com/u/asthyanax)\
**Post date:** [February 26, 2009, 11:26pm UTC](https://forum.kirupa.com/t/weird-render-html/282836/1 "2009-02-26T23:26:39Z")

</div>

Hi,  
I have a render problem with an html text from xml. There’s a space between words that is not rendered except when I rollover(this is a link).  
It’s like that basically :“Also, check out ourservices” then when I rollover it’s “Also, check out our services”  
Here’s my xml node :

```php

        <message>
        <![CDATA[Welcome. I have set up a few unique features for you based on our discussion. Below you will find some projects that I feel are a good representation of some of the work that may be of greater interest to you based on your project.<br /><br />Also, be sure to check out our <a href='asfunction:_root.launchServices'>services</a> as we put some detail into how we approach projects such as yours.]]>
        </message>

```

Now the code :

```php

            var uMessage:String=loginXML.firstChild.childNodes[1].childNodes[3].firstChild.nodeValue; 
    txt.html = true;
    txt.wordWrap = true;
    txt.multiline = true;
    txt.condenseWhite = true;
    txt.autoSize=true;
    // create new style sheet object
    var CSS:StyleSheet = new TextField.StyleSheet();
    // load CSS file
    CSS.load(CSS_FOLDER+url);
    // define onLoad handler
    CSS.onLoad = function(success) {
        if (success) {
            txt.styleSheet = CSS;
            txt.htmlText=uMessage;
        } else {
            trace("CSS file failed to load!");
        }
    };               

```

Sorry if I don’t post the fla, there’s too much files in action just to separate that particular one.  
Did you have such weird issue before ? Or I just missed something and I did something wrong ?  
Thank you for your help.
