diff options
| -rw-r--r-- | html-layouts/header_footer.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/html-layouts/header_footer.html b/html-layouts/header_footer.html new file mode 100644 index 0000000..c3ff1ed --- /dev/null +++ b/html-layouts/header_footer.html @@ -0,0 +1,39 @@ +<!doctype html> +<html> + <head> + <title>Header / Footer</title> + <style> + html, + body { + margin: 0; + padding: 0; + height: 100%; + } + #wrapper { + position: relative; + min-height: 100%; + } + #header, + #footer { + height: 50px; + background: #999; + } + #footer { + position: absolute; + bottom: 0; + left: 0; + width: 100%; + } + #content { + padding-bottom: 50px; + } + </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 |
