1. I've started a massive SPAM purge, any accounts that have spammed are being removed, also for a short period new user signups are disallowed until the SPAM cleaning is finished.

Center a image from top to top.

Discussion in '(X)HTML / CSS' started by bitane, Aug 5, 2011.

  1. bitane

    bitane New Member

    Joined:
    Jun 17, 2011
    Messages:
    269
    Likes Received:
    0
    Trophy Points:
    0
    I know how to center a image on any resolution screen from side to side but is there a way to center and image from the top to the bottom.
    So how can you place an image directly in the middle of a page.
    Could you use tables?
    And it needs to be centered directly in the middle no matter the computer resolution.
    Loading...
  2. Old Admin

    Old Admin Administrator

    Joined:
    Jan 7, 2008
    Messages:
    2,850
    Likes Received:
    228
    Trophy Points:
    63
    Gender:
    Male
    You could try the vertical align although this page is pretty old im not sure how valid it will be :

    Vertical Centering in CSS
    1 person likes this.
  3. kevintruong

    kevintruong Member

    Joined:
    Aug 18, 2011
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Thanks Adam H for sharing a nice site , i can learn more about CSS at here

Share This Page