固定页脚的主要宽度 [英] Fixed Footer with width of the main
本文介绍了固定页脚的主要宽度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<html>
<head>
<title>Untitled Document</title>
</head>
<style type="text/css">
body{
margin:auto;
}
.FMain{
max-width:900px;
min-width:1024px;
}
.footer{
background-color:yellow;
width:100%;
position:fixed;
bottom: 0;
}
</style>
<body>
<div class="FMain">
<div class="footer">footer footer</div>
</div>
</body>
</html>
-------------------------------------------------- -----------------------------
是否有任何人可以帮助解决此问题.
表示页脚始终是固定的&当您更改"FMain"的宽度时,页脚的宽度将更改为始终等于&我需要最小/最大.
-------------------------------------------------------------------------------
if any one can help to solve this issue.
means the footer is always fixed & when you change the width of "FMain" the width of the footer will change to be always equal & I need min/max.
推荐答案
试试这个
使用CSS固定页脚 [Clickety [ ^ ]
Try this
Fixed Footer using CSS[^] and it''s preview Clickety[^]
这篇关于固定页脚的主要宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文