summaryrefslogtreecommitdiff
path: root/html-layouts
diff options
context:
space:
mode:
Diffstat (limited to 'html-layouts')
-rw-r--r--html-layouts/center.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/html-layouts/center.html b/html-layouts/center.html
new file mode 100644
index 0000000..72c0bd0
--- /dev/null
+++ b/html-layouts/center.html
@@ -0,0 +1,21 @@
+<!doctype html>
+<html>
+ <head>
+ <title>Dead Center</title>
+ <style>
+ div.dead_center {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ height: 400px;
+ width: 500px;
+ margin: -200px 0 0 -250px;
+ background: #999;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="dead_center"></div>
+ </body>
+
+</html> \ No newline at end of file