Cant get entire contact script to be centered

Discussion in 'CSS' started by wholesalechecklist, Dec 4, 2007.

  1. #1
    wholesalechecklist, Dec 4, 2007 IP
  2. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #2
    Why do you just have
    on the form element? To horizontally center something you have to provide a width and set left/right margins to auto (margin:0 auto;) would do it.
     
    soulscratch, Dec 4, 2007 IP
  3. wholesalechecklist

    wholesalechecklist Peon

    Messages:
    511
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #3
    changed it and still not centered....

    its been really stubborn
     
    wholesalechecklist, Dec 4, 2007 IP
  4. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #4
    Did you read the whole post? You need to provide a width as well.
     
    soulscratch, Dec 4, 2007 IP
  5. wholesalechecklist

    wholesalechecklist Peon

    Messages:
    511
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Oops. Worked just as you said. Thanks
     
    wholesalechecklist, Dec 4, 2007 IP