Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » CMS OP fails validation

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: 709 Views
  • JonathanParker
    Avatar
    Community Member
    37 Posts

    CMS OP fails validation Link to this post

    When setting paragraphs to 'justify' the CMS inserts a 'align = justify' into the <p> tag. This does not comply with standards as the 'align' tag is depreciated. I have tried manually changing the HTML within the CMS to style="text-align:justify", but the CMS over-writes this with its <p align='justify'>. As I promise all of my clients that their sites will comply to standards, this is causing a problem.

    Any suggestions of how to modify this? Where in the js code could this be changed? setting text-align within the css is one solution, but this then affects the CMS presentation for those who edit the site content via the CMS.

    Jonathan

    709 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.