Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default CSS Question / Help

    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]
    Last edited by Luckyrare; 29-04-2007 at 01:43 PM.

  2. #2
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    text-posistion: center;

    Edit: Thats for Cetering in middle Sorrry


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •