Removing inline styles from articles

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.
Locked
akay
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Mon May 23, 2011 8:53 pm

Removing inline styles from articles

Post by akay » Tue May 31, 2011 4:23 pm

Is there a way to remove the inline styles that are automatically applied to an article?

If it makes a difference, I'm using tiny MCE. Right now it automatically generates this for every single <p> tag in my article:

<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 8px; margin-left: 0px; line-height: 20px; padding: 0px;" _mce_style="margin-top: 0px; margin-right: 0px; margin-bottom: 8px; margin-left: 0px; line-height: 20px; padding: 0px;">

What a mess! I would prefer for this to automatically come from my CSS unless I overwrite it with an inline style in tiny MCE. Any suggestions?

doriangray
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Wed Jan 27, 2010 6:14 pm
Location: Germany
Contact:

Re: Removing inline styles from articles

Post by doriangray » Wed Jun 01, 2011 3:48 am

i would just use another editor like JCE.
4-visions Internet
http://www.4-visions.de


Locked

Return to “General Questions/New to Joomla! 2.5”