-
- 121 Posts
hi,
I try to set the css for formatting the editing area.
In Tools -> Configuration -> Path to CSS file I set the path to /assets/site/style.css
The style.css file is
body {background-color:#000000; color:#FFFFFF; font-family:"Times New Roman", Times, serif; font-size:18px; }
But, when I edit a document the css is not applied.
Where I wrong?
___________________________________________________________________
..:: Samuele ::..
-
- 1,131 Posts
Problem is that the CSS file is only useful to the content of the TinyMCE instance itself. Since TinyMCE won’t have a body element in its content the CSS won’t be applied anywhere. However, if you change the body element in your CSS to be applied to the mceContentBody class then it’ll probably work.
Take a look at the following page on the TinyMCE wiki for more info about how content CSS works:
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/content_css
Hope this helps!
Jeff
Jeff Whitfield
"I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."