# Leading with htmlText inside a css style

**URL:** <https://forum.kirupa.com/t/leading-with-htmltext-inside-a-css-style/307940>\
**Category:** Uncategorized\
**Created:** [April 13, 2010, 8:48pm UTC](https://forum.kirupa.com/t/leading-with-htmltext-inside-a-css-style/307940 "2010-04-13T20:48:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcoulson](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@tcoulson](https://forum.kirupa.com/u/tcoulson)\
**Post date:** [April 13, 2010, 8:48pm UTC](https://forum.kirupa.com/t/leading-with-htmltext-inside-a-css-style/307940/1 "2010-04-13T20:48:07Z")

</div>

I have the following line of code inside a css document that I am using in a flex project. All of our text is htmlText and we want to apply the code inside CSS so that all instances of the text will have the same leading (would like to avoid using textformat tag, which seems to work, but lots more markup):

```auto
leading:6px;

```

as soon as we put that one line of code into any of our styles in css, the entire flash document fails to load any styles. So no text shows up. Is there anything I should know about CSS and leading inside Flex projects? Is there a trick to get leading to be recognized? TIA 🐇
