diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2011-04-01 12:24:47 +0300 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2011-04-01 12:24:47 +0300 |
| commit | 9c04e8c4d1353a73103f67413c8ea426bdb6beb6 (patch) | |
| tree | 8dabbdf739be88b426f08848b1b8a240f6f543f3 /html-layouts | |
| parent | dc51fb502a7649c30bc945e6fe922f8c7e6d0244 (diff) | |
added header footer
Diffstat (limited to 'html-layouts')
| -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 |
