# \[FMX04\] Font styles with externally loaded text

**URL:** https://forum.kirupa.com/t/fmx04-font-styles-with-externally-loaded-text/108427
**Category:** Uncategorized
**Created:** [April 25, 2004, 9:23am UTC](https://forum.kirupa.com/t/fmx04-font-styles-with-externally-loaded-text/108427 "2004-04-25T09:23:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sintax](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@sintax](https://forum.kirupa.com/u/sintax)
#### Post date: [April 25, 2004, 9:23am UTC](https://forum.kirupa.com/t/fmx04-font-styles-with-externally-loaded-text/108427/1 "2004-04-25T09:23:57Z")

</div>

Hi there,

I’m loading my text externally, and I’m trying to add styles to it. The problem might be that I’m using a pixel font, of which I have a normal and a bold version.  
How can I add the appropriate style (read font) to each piece of the text? I’ve tried with CSS, but it only supports font-families, and no ‘fonts’…

Anyone has a sollution for me?  
Thanx
