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 Posted: 07 April 2009 at 9:43am
Ahhh... i found another thing.
 
I have added the website background in the body of the default_style.css file. If i remove that the edit box becomes red. But i really need the background of the site to be the same on all pages.
 

/* Page body */
body{
 background:url(/_design/background.png) repeat-x top;
 background-color:#ba9f79; 
 margin-left: 0px;
 margin-top: 5px;
 margin-right: 0px;
 margin-bottom: 5px;
}
 
Do you know a workaround?
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:48am
BINGO! Solved it.
 
The solution is to add background: None; to the style sheet code on the RTE_textarea.asp file (in the root)
 

<html xmlns="http://www.w3.org/1999/xhtml" dir="<% = strTextDirection %>" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<% = strPageEncoding %>" />
<link href="<% = strCSSfile %>default_style.css" rel="stylesheet" type="text/css" />
<style>
html,body{
border:0px;margin:1px;
background: none;
}
td {border:1px dotted #CCCCCC;}
</style>
</head>
<body class="WebWizRTEtextarea" leftmargin="1" topmargin="1" marginwidth="1" marginheight="1">
<% = strMessage %></body>
</html>
 
Thank you for all your help. :)
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: 07 April 2009 at 1:40pm
Glad you got there in the end Mattias and thanks for sharing your findings Thumbs Up
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.