我想在我的免费托管网站上使用我的菜单制作滚动菜单。
我的意思是滚动菜单就像在屏幕的底部@ CNET.com& ThePheed.net,我的网站目前在Trigoblocks.comuf.com。
有人知道如何做到这一点,可以教我或引导我朝着正确的方向前进吗? (:
答案 0 :(得分:1)
你应该像以下那样:
position:fixed;
bottom:0;
left:0px;
width:100%;
就cnet中的环绕效果而言,它可能是位于div顶部的透明.png。
示例强>
<div style="height:200%;">Make scroll bar appear</div>
<div style="position:fixed; bottom:0; left:0px; height:25px; width:100%; background-color:#3c3c3c; border:solid 1px gray; padding:2px;">
<div style="color:gray;">Stuff</div>
</div>
答案 1 :(得分:1)
猜猜我有一天会访问cnet ..