# Setstyle for "b" (bold) not working?

**URL:** https://forum.kirupa.com/t/setstyle-for-b-bold-not-working/226004
**Category:** Uncategorized
**Created:** [May 17, 2007, 11:51am UTC](https://forum.kirupa.com/t/setstyle-for-b-bold-not-working/226004 "2007-05-17T11:51:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![johnnymeerkat](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/johnnymeerkat/32/1254_2.png) [@johnnymeerkat](https://forum.kirupa.com/u/johnnymeerkat)
#### Post date: [May 17, 2007, 11:51am UTC](https://forum.kirupa.com/t/setstyle-for-b-bold-not-working/226004/1 "2007-05-17T11:51:34Z")

</div>

guh, this feels like such a newbie question, but it’s driving my crackers. i’ve already got a whole bunch of css defined, and all of it works:

var mycss = new TextField.StyleSheet();  
mycss.setStyle(“body”,  
{color: ‘#AB958D’,  
fontFamily: ‘Trebuchet MS’,  
fontSize: ‘13px’,  
textAlign: ‘left’  
}  
);  
mycss.setStyle(“signoff”,  
{color: ‘#64504A’,  
textAlign: ‘right’  
}  
);  
mycss.setStyle(".time",  
{color: ‘#AB958D’}  
);  
mycss.setStyle(“a”,  
{color: ‘#FF3333’,  
textDecoration: ‘underline’}  
);

however, just trying to re-color the bold tag doesn’t appear to work. not only that, but trying to set any attribute for it doesn’t seem to make a difference:

mycss.setStyle(“b”,  
{color: ‘#069AB8’}  
);

am i completely missing something really, painfully obvious? i usually am.
