Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Great them, of course.
When editing the body using a wysiwyg editor, text is aligned center. Then i saw that this is the style for body. Why?
By the way, I am trying to change it to left (or right) and it has no effect...
Comments
Comment #1
mehrpadin CreditAttribution: mehrpadin commentedHey Amir,
It's actually because of IE6, I mean keeping everything at the middle of the window instead of left or right, anyways you can either override the CSS of your WYSIWYG editor or even better: making it use the "default CSS" instead of "theme CSS"; both WYSIWYG & CKEditor modules do have this option as far as I know.
Let me know if it worked for you.
Comment #2
Amir Simantov CreditAttribution: Amir Simantov commentedHi Mehrpadin,
Yes, you have helped, I use default CSS now in the wysiwyg.
Still, if IE6 is still a concern, this value can be put in a specific CSS file loading for ie6 only.
Thanks!
Comment #3
mehrpadin CreditAttribution: mehrpadin commentedHey,
Well that works too, but as a matter of fact WYSIWYG editors should not expect themes - as their default settings say - to have CSS for their body (in iframe), and you know it's not the text-align alone, it's font size, color, background, padding, etc. whatever body of the theme do have, so they either need to use "default CSS" by default or well not using iframe and body.