1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

HTML: How to centralize div horizontally and vertically

  1. Clicks today:
    0
  2. Clicks this month:
    8
  3. Overall rating:
    0.00/5

HTML » Document Structure — over 1 year ago
In this method you have to take margin:auto and define all side 0 (if you want excellently in center). But it will support IE7 and above. and second is to use css transform, for this method you have left and top position 50% and translate value should be -50% in X and Y axis. For full information, Visit full Blog. http://findnerd.com/list/view/How-to-centralize-div-horizontally-and-vertically-/3870/

Comments

Your Comment

You must be logged in to post a comment.