Revision: 45425
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 29, 2011 23:08 by egan10
Initial Code
#deadCenter { width: 700px; height: 450px; margin: -225px 0 0 -350px; /* 225 is half the height, 350 is half the width */ position: absolute; top: 50%; left: 50%; }
Initial URL
Initial Description
225 is half the height, 350 is half the width
Initial Title
dead center a div - short version
Initial Tags
css, center
Initial Language
CSS