[SOLVED] Alternative fix for TinyMCE background problem
Posted: Tue Dec 01, 2009 10:01 pm
I was having trouble with my website's background showing through in TinyMCE. I had tried all the standard remedies, ticking the Stip box, adding the code in the TinyMCE/Advanced tab. Nothing was working for me.
I was adding to my stylesheet.css some code someone else had posted om here to add. didn't work. So I went into TinyMCE's home and added it there. By accident I placed it in the 02k7 directory instead of default. Much to my surprise my background was not white.
.../modules/TinyMCE/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/content.css (note: directory 02k7, not default) and added the following lines:
body {background:#FFF;}
body.mceForceColors {background:#FFF; color:#000;}
worked.
Hope this helps someone else.
CH
I was adding to my stylesheet.css some code someone else had posted om here to add. didn't work. So I went into TinyMCE's home and added it there. By accident I placed it in the 02k7 directory instead of default. Much to my surprise my background was not white.
.../modules/TinyMCE/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/content.css (note: directory 02k7, not default) and added the following lines:
body {background:#FFF;}
body.mceForceColors {background:#FFF; color:#000;}
worked.
Hope this helps someone else.
CH