Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Using <p align="">

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1477 Views
  • JoGiles
    9 Posts

    Using <p align=""> Link to this post


    Incredibly small issue - the CMS creates paragraphs using <p align="left|right|center|justify">, but this is deprecated when trying to be HTML4.01 valid. The workaround is to either use a CSS file, or to write something like <p style="text-align:left;">.

    You can find more info here:

    I only started using silverstripe today - am quite impressed with the ease of developing a new website with a modified template.

    Jonathan Giles

  • Jedateach
    Forum Moderator
    227 Posts

    Re: Using <p align=""> Link to this post

    You're absolutely right Jonothan. This paragraph alignment is part of TinyMCE, the open source WYSIWYG editor we use in the SilverStripe CMS.

    TinyMCE is quite customizable, so it may just be a matter of turning this 'outdated' feature off.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.