×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: CSS
Posted by: Rodrigo (Digão) Ferreira
Added: Jun 17, 2013 8:37 PM
Views: 26
Tags: css center
  1. .content {
  2.     margin: 0 auto 8px;
  3.     display: table;
  4.     }
  5.  
  6. .content div {
  7.     display: table-cell;
  8.     }
  9.  
  10. <!--[if IE]>
  11. .content {
  12.     display: block;
  13.     text-align: center;
  14.     }
  15. .content div {
  16.     display: inline;
  17.     zoom: 1;
  18. }
  19. <![endif]-->