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:
    4
  3. Overall rating:
    5.00/5

HTML » Document Structure — almost 5 years 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

avatarmaorso 25 days ago

Thank you! We've shared this tutorial with our friends! Thanks again! - Denver with http://www.cardetaildenver.com

Your Comment

You must be logged in to post a comment.