Log in

View Full Version : CSS Question / Help



Luckyrare
29-04-2007, 01:42 PM
Quick question, I am wanting to align text to the center of a div.

eg

its like this at the moment
--------------------------------------
| hello my friend... . . . . . . . . . . . . . .|
| . . . . . . . . . . . . . . . . . . . . . . . . . |
| . . . . . . . . . . . . . . . . . . . . . . . . . |
-------------------------------------

I want it to be like this:

--------------------------------------
| . . . . . . . . . . . . . . . . . . . . . . . . . |
| hello my friend... . . . . . . . . . . . . . .|
| . . . . . . . . . . . . . . . . . . . . . . . . . |
-------------------------------------

Using CSS, not <br />

rep added for help x]

Drompo
29-04-2007, 01:43 PM
text-posistion: center;

Edit: Thats for Cetering in middle Sorrry

Want to hide these adverts? Register an account for free!