×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: CSS
Posted by: Andrej Agovski
Added: Aug 4, 2014 9:32 AM
Views: 21
Center absolute div element with fixed dimensions
  1. top:0; bottom:0; left:0; right:0;
  2. margin-top: auto; margin-bottom: auto; margin-left: auto; margin-right: auto;