# Changing the colour of text form an external txt file

**URL:** <https://forum.kirupa.com/t/changing-the-colour-of-text-form-an-external-txt-file/216886>\
**Category:** flash\
**Created:** [February 21, 2007, 10:16am UTC](https://forum.kirupa.com/t/changing-the-colour-of-text-form-an-external-txt-file/216886 "2007-02-21T10:16:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![g\_rochford](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@g\_rochford](https://forum.kirupa.com/u/g_rochford)\
**Post date:** [February 21, 2007, 10:16am UTC](https://forum.kirupa.com/t/changing-the-colour-of-text-form-an-external-txt-file/216886/1 "2007-02-21T10:16:37Z")

</div>

I’m building a site for a magazine and obviously they want to update the text as and when. They are comfortable using simple html code but i dont think they can grasp css yet.

I looked at this tutorial but i think it might be too much for them

[http://www.kirupa.com/developer/mx2004/css.htm](http://www.kirupa.com/developer/mx2004/css.htm)

At the moment I’m using this code to get the text in.

```auto
loadText = new LoadVars();
loadText.load("info/youthfaq.txt");
loadText.onLoad = function() {
    main.html = true;
    main.htmlText = this.youthfaq;
};

```

and its fine but i want to be able to change the colour of certain words for links. I’ve tried using the \<span\> tag but that doesn’t seem to work.

Any ideas?

Many thanks in advance.
