You are here: Home » Community » Structured text

Structured text

Post  Structured text
Author: MattJ  Send Email
Date: 2003-12-16 10:20 AM

I've looked in the different manuals... Anyone know how to centre or right-align text or an image using structured text?


-- MattJ

Comments: order by [Date] [Author] [Subject]

  Re:Structured text (davewave - 2003-12-16 10:25 AM)

Well, I think it is not possible in STX, the only way to do that is to use HTML tags directly.

But I may be wrong.

Whatch the align tags, as the Plone style sheet is weird with these align tags. Maybe Zyon will give us some feedback on that specific topic.

  Re:Structured text (Zyon - 2003-12-16 10:27 AM)

Sorry you can't.

  Re:Structured text (Zyon - 2003-12-16 10:33 AM)

Oh 2 answers in 2 minutes !

So don't use the HTML "align" tag, the stylesheet property "text-align" is better, like this :

{div style="text-align : center / right / left"} my text {/div}

For more informations, see the w3c CSS2 specifications

 Re:Re:Structured text (MattJ - 2003-12-17 01:41 AM)

Once again, thanks guys.