Page 1 of 1

[solved] wysiwyg editor not showing css colours

Posted: Mon Jun 18, 2012 1:05 pm
by stevegos
Hi

Not sure if this is an issue with the wysiwyg editor or my css.

I have a web site that uses a black background and white text. All works fine until I insert a table. The table shows fine but the colour of the text within the table is black and cannot be seen in the editor but it is white (as it should be) in the public output.

I made a css class for the table and applied it to the table but the text is still black in the wysiwyg.

I am using the latest version of cmsms 1.10.3 and also the latest version of TinyMCE (not the micro version).

I set this in TinyMCE advanced settings:

background-color: black; color: white

and this is the css:

.table {color:#fff;}

I can of course set the colour individually via the wysiwyg but would rather do it via css.

Any ideas?

Re: wysiwyg editor not showing css colours

Posted: Tue Jun 19, 2012 8:33 am
by stevegos
Solved:

I just had to put td and tr in the css and remove the class dot

table tr td {color:#fff;}