32 users online (1 members and 31 guests)  


  Results 1 to 3 of 3

Related

  1. How to create round corners in css    Forum: CSS Forum
    Replies: 3
  2. Replies: 3
  3. How to round numbers    Forum: CGI Perl Forum
    Replies: 6
  1. #1
    auto98uk's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2008
    Posts
    2

    Centering round a certain point

    Hi there - i was wondering if anyone knows how you center text round a certain point - atm i have text like this:


    12346 456 7 - hdjhldfgu ji ds fuh
    5354 - hhgu
    276896785894 - hgi

    only it makes sense

    My question is, how do i center the text so that the hyphens are in a vertical line (i know i can "cheat" and put extra invisible characters either side to balance it out, but this is a long list and that really isnt an option

    thanks

  2. #2
    ngsupb's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2007
    Posts
    5

    Re: Centering round a certain point

    Just create a 3 column table, and put the numbers in the first column, the hyphens and the text in 3th

    make the table border 0 so it will be invisible and align the text in the table as you want easy

  3. #3
    auto98uk's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2008
    Posts
    2

    Re: Centering round a certain point

    Ah sorry i forgot to mention - its on an IPBoard forum, and the only thing missing is....[table]



Tags for this Thread