[solved] wysiwyg editor not showing css colours

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
stevegos

[solved] wysiwyg editor not showing css colours

Post 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?
Last edited by stevegos on Tue Jun 19, 2012 8:34 am, edited 1 time in total.
stevegos

Re: wysiwyg editor not showing css colours

Post by stevegos »

Solved:

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

table tr td {color:#fff;}
Locked

Return to “Layout and Design (CSS & HTML)”