centered page width for text

Discussion in 'HTML' started by Andrew Emberson, Oct 9, 2003.

  1. hi,

    is it possible to adjust the width of a page and keep each line centered
    without using a table.

    cheers,
    andrew.
    Andrew Emberson, Oct 9, 2003
    #1
    1. Advertising

  2. Andrew Emberson

    bengee Guest

    Andrew Emberson wrote:
    > hi,
    >
    > is it possible to adjust the width of a page and keep each line centered
    > without using a table.


    Put it all in a <div> with style of "text-align: center; margin-left:
    auto; margin-right: auto; width: 75%;"

    Ben
    bengee, Oct 10, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. AndrewF
    Replies:
    1
    Views:
    747
    Bruce Barker
    Oct 10, 2005
  2. Ron Brennan

    Button text not centered

    Ron Brennan, Jun 25, 2005, in forum: HTML
    Replies:
    9
    Views:
    1,353
    Sid Ismail
    Jun 25, 2005
  3. Replies:
    2
    Views:
    326
  4. joes
    Replies:
    2
    Views:
    433
    Neredbojias
    Sep 2, 2007
  5. Gunther Gunt
    Replies:
    0
    Views:
    83
    Gunther Gunt
    Aug 1, 2008
Loading...

Share This Page