Fixed issue #146 where footer was sitting above other html elements

这个提交包含在:
Peter Goodhall 2013-09-17 23:04:52 +01:00
父节点 96a1f089bc
当前提交 67e99779ac
共有 4 个文件被更改,包括 18 次插入11 次删除

查看文件

@ -1,6 +1,9 @@
</div> <!-- end wrapper -->
<div id="footer">
<a href="http://www.cloudlog.co.uk">Powered by Cloudlog</a>
<div class="container">
<a href="http://www.cloudlog.co.uk">Powered by Cloudlog</a>
</div>
</div>
</body>

查看文件

@ -34,7 +34,7 @@
<body>
<!-- Header -->
<div id="wrap">
<div class="topbar">
<div class="fill">
<div class="container">
@ -124,4 +124,3 @@
</div>
<div id="clear" class="clear"></div>
<div id="wrap">

查看文件

@ -68,3 +68,4 @@
</form>
</div>
</div>

查看文件

@ -1,14 +1,18 @@
html, body {height: 100%;}
body,html{
height:100%;
}
#wrap {
min-height:100%;
}
#footer{
height:40px;
margin-top:-40px;
text-align: right;
}
#wrap {min-height: 100%;}
#main {overflow:hidden; padding-bottom: 3em; /* must be same height as the footer */ }
#container { padding-top: 50px; width: 940px; margin: 0 auto; }
#footer { width: 940px; margin: -3em auto; text-align: right; position: relative; clear:both; height: 3em;
/* margin-top must be the negative value of footer height */ }
table .titles { font-weight: bold; color: #439BF6; }
table .title { font-weight: bold; color: #439BF6; }