Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

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: 1464 Views
  • JoGiles
    Avatar
    9 Posts

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

    Hello,

    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:
    http://www.w3.org/TR/html4/present/graphics.html#h-15.1.2

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

    Cheers,
    Jonathan Giles

  • Jedateach
    Avatar
    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.

    1464 Views
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.