1
chattobrian
How to justify text in a block?
  • 2005/10/11 11:37

  • chattobrian

  • Just popping in

  • Posts: 5

  • Since: 2005/10/11


How can i justify text in a block?

The problem now is that the text is centered, and i want it formated to the left. (i'm not english and i hope i make myself clear :-S)

Does anyone now ho to get my text alligned to the left?

2
davidthomas1
Re: How to justify text in a block?

There are lots of ways to align text.

One way is like this :

<p align="left">
Your left aligned text goes here
</p>

You'll need to save the block as HTML or maybe auto-format.
みんなちがってみんないい。

XOOPS 2.0.13.2

3
JMorris
Re: How to justify text in a block?
  • 2005/10/11 12:11

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


chattobrian,

First, welcome to XOOPS!

To justify text using in-line styles...
<div style="text-align:justify;">Your text goes here</div>

Save the block type as HTML.

Hope this helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

4
chattobrian
Re: How to justify text in a block?
  • 2005/10/11 12:17

  • chattobrian

  • Just popping in

  • Posts: 5

  • Since: 2005/10/11


Thanks a lot, you both

I realy needed this !!!

5
davidthomas1
Re: How to justify text in a block?

You're welcome!

I recommend JMorris's solution.

<div style="text-align:left;">Your left aligned text goes here</div>

Sometimes inline styles work when plain HTML tag attributes don't. In other words, inline styles are more reliable.

anyway,

Happy Xoopsing

みんなちがってみんないい。

XOOPS 2.0.13.2