Posted By

gabbo on 12/31/10


Tagged

horizontally center vertically


Versions (?)

Vertically and horizontally center


 / Published in: CSS
 

URL: http://testing.fallend.at/html/centered.html

Am Beispiel einer Grafik

  1. img {
  2. position: absolute;
  3. top: 0;
  4. right: 0;
  5. bottom: 0;
  6. left: 0;
  7. width: 297px;
  8. height: 238px;
  9. margin: auto;
  10. border: 0;
  11. }

Report this snippet  

You need to login to post a comment.