Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Support Requests:
Adjust HtmlArea Background-Color



georgh
New User

Jan 24, 2005, 5:37 AM


Views: 27479
Adjust HtmlArea Background-Color

Hi!

i'd like to adjust the background color of the textarea, because the page in which the htmlarea-generated code gets included by php later on has got a dark background.
So is there any possibility?

thanks&cu

Georg


reg
Novice

Jan 24, 2005, 10:02 AM


Views: 27457
Re: [georgh] Adjust HtmlArea Background-Color

Hello George,

In the reference.htm, top of page 4 (depending on how your browser breaks it up) there is an example which includes a reference to config.pagestyle = 'body etc., and that's how I've been doing it

HTH

Reg


Fyrespray
Novice

Feb 16, 2005, 5:52 AM


Views: 27321
Re: [reg] Adjust HtmlArea Background-Color

Or you could just open htmlarea.css and change the first line:

.htmlarea { background: #fff; }

to whatever colour you want the bacground to be. I'm currently using #CCCCCC

Fyrespray
---------------------------------------------
http://www.lazeryattack.com
http://www.ardescosolutions.com


reg
Novice

Feb 16, 2005, 6:34 AM


Views: 27314
Re: [Fyrespray] Adjust HtmlArea Background-Color

Yes, using CSS is even better -- I'll make that change myself

Reg