Centering image in column

Discussion in 'CSS' started by vinoman, Apr 21, 2009.

  1. #1
    on this page:
    http://www.geovino.net/wheeler/index.html

    How would I center the images in the right column? I tried changing the margin and it didn't work. it has a float:left which I set to none and that didn't change either.

    Also: how to add text to upper right corner of the header?
     
    vinoman, Apr 21, 2009 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    Change #about-me to .about-me. An id may apply to only one element.

    Remove the float property from the images. Center the image and its caption by doing this:
    .about-me p {
      text-align: center;
      }
    Code (markup):
    cheers,

    gary
     
    kk5st, Apr 21, 2009 IP