Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

CMS OP fails validation


Go to End


908 Views

Avatar
JonathanParker

Community Member, 37 Posts

28 March 2008 at 1:22am

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