/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
body { text-align:center; } div.content { position:absolute; height:200px; width:500px; top:50%; left:50%; margin-top:-100px; margin-left:-250px; background:#000; }
URL: http://bettesmidler.com/code/2009-09-03.htm