Elxis CMS Forum

Support => General => Topic started by: ROUBOS on May 30, 2012, 16:08:17

Title: Global CSS setting for content. Any tips?
Post by: ROUBOS on May 30, 2012, 16:08:17
Hi,
I want to create CSS for all content items to be following.
I notice that when someone enters content into an article, they most likely copy & paste it from word and the content automatically is formatted with <span> and <p> tags that alter the text too much.
I want to be able to control that.
No matter what they enter or how, I want the text to follow my CSS.

Any tips?

thanks
Title: Re: Global CSS setting for content. Any tips?
Post by: xmanhattan on May 31, 2012, 11:11:49
Hello Roubos,

When pasting content from word, the user should be clicking on the W so that the word formating is cleaned.  If this is not done then the page will most likely have html and css errors; it will also display differently on different browsers.
Many word users choose fonts that are not always available on internet browsers, thus the differences in how the content look.

If your users do not see the W on the tinymce toolbar, then go to the TinyMCE WYSIWYG Editor bot and click YES to the paste plugin.
If you do not want the use of spans (not a good idea for future compatibility) then you can change Convert Fonts to Spans: to NO.

Hope this helps.
Title: Re: Global CSS setting for content. Any tips?
Post by: webgift on June 01, 2012, 11:01:20
The best tip here: Inform your authorized users to use a certain way of submitting content. When we copy an article from website it can be used specific CSS Classes with names that it can't be used on your website.