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.

Archive /

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

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

Using <p align="">


Reply


2 Posts   1506 Views

Avatar
JoGiles

9 Posts

24 July 2007 at 10:16pm

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

Avatar
Jedateach

Forum Moderator, 232 Posts

24 July 2007 at 10:40pm

Edited: 24/07/2007 10:41pm

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.