summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html-layouts/center.html30
-rw-r--r--html-layouts/header_footer.html48
2 files changed, 39 insertions, 39 deletions
diff --git a/html-layouts/center.html b/html-layouts/center.html
index 72c0bd0..e16ef79 100644
--- a/html-layouts/center.html
+++ b/html-layouts/center.html
@@ -1,21 +1,21 @@
<!doctype html>
<html>
- <head>
- <title>Dead Center</title>
- <style>
+ <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;
+ 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>
+ </style>
+ </head>
+ <body>
+ <div class="dead_center"></div>
+ </body>
</html> \ No newline at end of file
diff --git a/html-layouts/header_footer.html b/html-layouts/header_footer.html
index c3ff1ed..4d7496d 100644
--- a/html-layouts/header_footer.html
+++ b/html-layouts/header_footer.html
@@ -1,39 +1,39 @@
<!doctype html>
<html>
- <head>
- <title>Header / Footer</title>
- <style>
+ <head>
+ <title>Header / Footer</title>
+ <style>
html,
body {
- margin: 0;
- padding: 0;
- height: 100%;
+ margin: 0;
+ padding: 0;
+ height: 100%;
}
#wrapper {
- position: relative;
- min-height: 100%;
+ position: relative;
+ min-height: 100%;
}
#header,
#footer {
- height: 50px;
- background: #999;
+ height: 50px;
+ background: #999;
}
#footer {
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ width: 100%;
}
#content {
- padding-bottom: 50px;
+ padding-bottom: 50px;
}
- </style>
- </head>
- <body>
- <div id="wrapper">
- <div id="header"></div>
- <div id="content"></div>
- <div id="footer"></div>
- </div>
- </body>
+ </style>
+ </head>
+ <body>
+ <div id="wrapper">
+ <div id="header"></div>
+ <div id="content"></div>
+ <div id="footer"></div>
+ </div>
+ </body>
</html> \ No newline at end of file