Fixed issue #146 where footer was sitting above other html elements
这个提交包含在:
父节点
96a1f089bc
当前提交
67e99779ac
共有 4 个文件被更改,包括 18 次插入 和 11 次删除
|
|
@ -1,6 +1,9 @@
|
||||||
</div> <!-- end wrapper -->
|
</div> <!-- end wrapper -->
|
||||||
|
|
||||||
<div id="footer">
|
<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>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
|
<div id="wrap">
|
||||||
<div class="topbar">
|
<div class="topbar">
|
||||||
<div class="fill">
|
<div class="fill">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
@ -124,4 +124,3 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="clear" class="clear"></div>
|
<div id="clear" class="clear"></div>
|
||||||
<div id="wrap">
|
|
||||||
|
|
|
||||||
|
|
@ -68,3 +68,4 @@
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
|
||||||
20
css/main.css
20
css/main.css
|
|
@ -1,14 +1,18 @@
|
||||||
html, body {height: 100%;}
|
body,html{
|
||||||
|
height:100%;
|
||||||
#wrap {min-height: 100%;}
|
}
|
||||||
|
#wrap {
|
||||||
#main {overflow:hidden; padding-bottom: 3em; /* must be same height as the footer */ }
|
min-height:100%;
|
||||||
|
}
|
||||||
|
#footer{
|
||||||
|
height:40px;
|
||||||
|
margin-top:-40px;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#container { padding-top: 50px; width: 940px; margin: 0 auto; }
|
#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 .titles { font-weight: bold; color: #439BF6; }
|
||||||
table .title { font-weight: bold; color: #439BF6; }
|
table .title { font-weight: bold; color: #439BF6; }
|
||||||
|
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用