# Styles on textArea

**URL:** <https://forum.kirupa.com/t/styles-on-textarea/97776>\
**Category:** Uncategorized\
**Created:** [December 29, 2003, 11:42am UTC](https://forum.kirupa.com/t/styles-on-textarea/97776 "2003-12-29T11:42:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stanley](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Stanley](https://forum.kirupa.com/u/Stanley)\
**Post date:** [December 29, 2003, 11:42am UTC](https://forum.kirupa.com/t/styles-on-textarea/97776/1 "2003-12-29T11:42:29Z")

</div>

myTextArea.setStyle(“buttonColor”, 0xffffff);  
myTextArea.setStyle(“highlightColor”, 0xffffff);  
myTextArea.setStyle(“borderColor”, 0xffffff);  
myTextArea.setStyle(“shadowColor”, 0xffffff);  
myTextArea.setStyle(“borderCapColor”, 0xffffff);  
myTextArea.setStyle(“shadowCapColor”, 0xffffff);  
myTextArea.setStyle(“shadowCapColor”, 0xffffff);  
myTextArea.setStyle(“borderCapColor”, 0xffffff);  
//  
myTextArea.setStyle(“embedFonts”, “verdana”);  
myTextArea.setStyle(“fontFamily”, “verdana”);  
myTextArea.setStyle(“fontSize”, 8);

Hello,

I wanted to remove the default “3D” borders around my textArea and make it all white, and that worked with the code above (everything before the //) . But when I wanted to change the font and fontsize with setStyle(), that didn’t work.

someone any tips ?

I tried myTextArea.fontSize = 8; but that doesn’t work either…

Stanley
