Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Set the background color of the RTE texarea
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Set the background color of the RTE texarea

 Post Reply Post Reply Page  12>
Author
 Rating: Topic Rating: 1 Votes, Average 5.00  Topic Search Topic Search  Topic Options Topic Options
Mattias Nordin View Drop Down
Groupie
Groupie


Joined: 30 March 2005
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mattias Nordin Quote  Post ReplyReply Direct Link To This Post Topic: Set the background color of the RTE texarea
    Posted: 29 March 2009 at 8:38pm
 
Right now it seems to be transparent and i need the background to be white or some other color?
I have searched a lot and cant find where to define that color.
 
Please help.
 
 
Thanks for a great tool !
 
 
Back to Top
Mattias Nordin View Drop Down
Groupie
Groupie


Joined: 30 March 2005
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mattias Nordin Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2009 at 9:11am
Hmm... The reply form is included in the file.
 
new_reply_form.asp -->
 
<!--#include file="includes/message_form_inc.asp" -->
 
includes/message_form_inc.asp -->
 
<iframe id="WebWizRTE" src="RTE_textarea.asp?mode=<% = strMode %>&POID=<% = lngMessageID %>&ID=<% = CInt(RND * 2000) & strQsSID2 %>" width="650" height="300" style="border: #968167 1px solid;" onLoad="initialiseWebWizRTE();" tabindex="20"></iframe>
 
Even if i add a background color to the RTE_textarea.asp page no background is displayed in the first page. How come? Could someone please help me?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2009 at 10:28am
You need to change this in the CSS File you are using for your forum. The part below shows which bit needs to be changed:-

.RTEtextarea{
    background-color: #FFFFFF;
    color: #000000;
    margin: 2px;
}
Back to Top
Mattias Nordin View Drop Down
Groupie
Groupie


Joined: 30 March 2005
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mattias Nordin Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2009 at 3:24pm
I have allready tried that and it doesnt work.
 
.RTEtextarea{
 background-color: red;
 color: #000000;
 margin: 2px;
}
Can someone verify that it works for you?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2009 at 3:27pm
Red would be:-

.RTEtextarea{
    background-color: #FF0000;
    color: #000000;
    margin: 2px;
}
Back to Top
Mattias Nordin View Drop Down
Groupie
Groupie


Joined: 30 March 2005
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mattias Nordin Quote  Post ReplyReply Direct Link To This Post Posted: 04 April 2009 at 9:17am
Originally posted by WebWiz-Bruce WebWiz-Bruce wrote:

Red would be:-

.RTEtextarea{
    background-color: #FF0000;
    color: #000000;
    margin: 2px;
}
 
That should do exactly the same thing. None of them work. Have you tried it yourself?
 
Thanks
Mattias
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 04 April 2009 at 12:18pm
Mattias

Where you see in your css file these lines as below:

.RTEtextarea{
   background-color: #FFFFFF;
   color: #000000;
   margin: 2px;
}

.RTEmouseOver{
   background-color: #FFFFFF;
   color: #000000;
}

After that add this:

/*Start TWS Mod*/
.WebWizRTEtextarea {
 font-size: .75em;
 font-family: Verdana,Arial;
 color: #FFFFFF;
 background-color: #FF0000;
}
/*End TWS Mod*/

That gives you a red text box with white font


Back to Top
Mattias Nordin View Drop Down
Groupie
Groupie


Joined: 30 March 2005
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mattias Nordin Quote  Post ReplyReply Direct Link To This Post Posted: 07 April 2009 at 9:38am
Thanks for your help you all. But it is still not working correctly.
I have added .WebWizRTEtextarea to the CSS (before it was not existing inte the default.css file - Newest Access package). The background is not changed but the textcolor is changed. In firefox a small red line is displayed. In IE8 no background is displayed.
 
CSS used = Default + customization:
 

.RTEtableBottomRow{
 background-color: #D3DAED;
 background-image: url('../../forum_images/bottombar_background.gif');
}
.RTEtextarea{
 background-color: #FFFFFF;
 color: #000000;
 margin: 2px;
}
.RTEmouseOver{
 background-color: #FFFFFF;
 color: #000000;
}
/*Start TWS Mod*/
.WebWizRTEtextarea{
 font-size: .75em;
 font-family: Verdana,Arial;
 color: red;
 background-color: #FF0000;
}
/*End TWS Mod*/
 
The page that im trying to get working is the following:
http://www.barrelrace.se/forum/forum_posts.asp?TID=19
 
The "quick reply" and the "post reply" boxes should have a background color. Now it looks like the default website body background is used???
 
 
 
 
 
 
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.