When looking at my content for a page in the tinyMCE wysiwyg editor screen everyone appears centered. The content is not centered, which is working correctly but everything appears centered in the edit screen. Example:
Fake text Fake text Fake text Fake text
Fake text Fake text Fake text
Fake text Fake text
Fake text Fake text Fake text
Fake text Fake text Fake text Fake text
would appear
Fake text Fake text Fake text Fake text
Fake text Fake text Fake text
Fake text Fake text
Fake text Fake text Fake text
Fake text Fake text Fake text Fake text
and this is very confusing to the users. Is there a setting I have that is making everything centered or has anyone else encountered this problem.
Comments
Comment #1
GreenBayNet commentedWell the submit form didn't allow for the text to be centered so my example doesn't make any sense, but I hope you get the picture.
Comment #2
freedomhonal commentedI have got the same error. The worse thing for me is the content gets completely disarrayed and I just cannot understand it. I have removed tinymce, used fck editor, YUI editor and the same problem persists. If I disable text editing all together then the problem is solved. Please let me know if there is any solution to this.
Comment #3
jessmagz commentedHi,
As what I'd pictured out from your description, it seems that the "Input Format" is not set well. As "admin", edit the page, click on "Input Format" and set it to your "tinyMCE format".
If "Input Format" is set well, I mean if it's set to your "tinyMCE" format, the your HTML tags may be clattered or so... Using the HTML toolbar in the editor, edit the HTML code of your content and remove the redundant or all tags there.
Please let me know the results.
Comment #4
freedomhonal commented@jessmagz
I have this input format set:
These are the guidelines that users will see for posting in this input format. They are automatically generated from the filter settings.
* Web page addresses and e-mail addresses turn into links automatically.
* Lines and paragraphs break automatically.
* Allowed HTML tags: a em> strong> cite> code> ul> ol>
* Insert Flickr images: [flickr-photo:id=230452326,size=s] or [flickr-photoset:id=72157594262419167,size=m].
* Flash node macros can be added to this post.
I am using FCKeditor as it allows me to upload flash files, while TInyMCE has some problem and does not allow me to upload Flash files.
I have disabled the Object and Embed filter too, as it is not allowing me to show videos from youtube if I use that filter.
I dont want the users to change the HTML code everytime they have to put up a post. There has to be some other way to remove the automatic centering. The post shows up aligned left and the source code is clean just separated by paragraph tags.
Thanks for the help!
Comment #5
freedomhonal commentedwell i found the solution. it was taking up the CSS of the theme which had body defined as txt-align : center. i fixed that and voila. everything back to normal.
Comment #6
freedomhonal commentedDone