Page 1 of 1
[SOLVED] text alignment in tinyMCE
Posted: Tue Jul 28, 2009 10:31 pm
by LouiseW
In the backend using tinyMCE and template default or NClearBlue all text is centered by default.
This is in the css of NClearBlue
Code: Select all
p {
padding: 0;
margin-top: 0.5em;
margin-bottom: 1em;
text-align:left;
}
So why isn't the text aligned left?
In the frontend all is correctly aligned left.
Re: text alignment in tinyMCE
Posted: Tue Jul 28, 2009 10:37 pm
by nuno
Because Tiny grabs the BODY css, i think is fixed in 1.6.1 and current version.
Nuno Costa
Re: text alignment in tinyMCE
Posted: Tue Jul 28, 2009 10:45 pm
by LouiseW
Hello Nuno Costa
Thanks for your answer.
I did an upgrade tot 1.6.1 but the problem persists.
Re: text alignment in tinyMCE
Posted: Wed Jul 29, 2009 2:44 am
by Dr.CSS
Was this a clean install of 1.6?...
Re: text alignment in tinyMCE
Posted: Wed Jul 29, 2009 8:52 am
by LouiseW
I had 2 clean installs of 1.6: local on a WAMP server and on line.
On the WAMP server I did an upgrade to 1.6.1.
The problem exists on both versions.
Re: text alignment in tinyMCE
Posted: Wed Jul 29, 2009 2:28 pm
by LouiseW
I found a nice and simple work around:
Go to Extentions - TinyMCE - Advanced
and add this code to
Additions to stylesheet:
or
You can immediately see that it works at the example below this stylesheet window.
Re: [SOLVED] text alignment in tinyMCE
Posted: Wed Jul 29, 2009 7:49 pm
by Dr.CSS
Doing an upgrade will not effect any of the style sheets, it has to be a clean install to get new style sheets etc...