Print Page | Close Window

Set style of textarea

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=15940
Printed Date: 28 March 2026 at 5:58pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Set style of textarea
Posted By: derren
Subject: Set style of textarea
Date Posted: 22 July 2005 at 7:17am
I have been getting on really well with the RTE 3, but one thing has been annoying me as I cannot seem to adjust it.
 
I would like to change the font and style of the main textarea - just like this one, ironically. At the moment the text is going in as Times, but I need it to be Arial. It would seem simple, but as the application is a Russian Doll of a setup I am finding it difficult to isolate where this can be changed, and which style it is using.
 
I have added style definitions in the default_style.css for body, iframe and textarea, and added definitions in a number of other places - not randomly, by scutinising the code. Nothing.
 
I am going to buy the developer licence but I want to get this sorted first. Please help



Replies:
Posted By: WebWiz-Bruce
Date Posted: 22 July 2005 at 7:22am
The CSS class 'RTEtextarea' should change the text for the text area

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: derren
Date Posted: 22 July 2005 at 7:26am
Yes, that was the first thing I changed - but to no avail


Posted By: derren
Date Posted: 22 July 2005 at 8:21am
Found it.
 
In RTE_javascript.asp there was a line I missed:
 
 iframeContent += '<link href="rte/RTE_configuration/default_style.css" rel="stylesheet" type="text/css" />\n';
which needed the extra "RTE" in the path. Ironically, I had hard coded a style description for RTEtextarea below this in the same iframeContent writing, but this did nothing ...



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net