Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: Centering text in my articles  (Read 2265 times)

curiousEngine

  • Newbie
  • *
  • Karma: 0
  • Posts: 18
Centering text in my articles
« on: December 26, 2007, 10:49:12 am »

I am trying to center text in my articles with the following tag:
<p align="center">Lorem Ipsum</p>

IT DOES NOT WORK!

only <p align="justify">Lorem Ipsum</p>

WORKS.

Thanks for the help.
Logged

centered

  • Guest
Re: Centering text in my articles
« Reply #1 on: December 26, 2007, 01:09:27 pm »

How about:

<p class="center">Article</p>

Then in css:
.center { text-align: center; }
Logged