如何在页面底部创建Dock类型工具栏? [英] How to create dock type toolbar at the bottom of the page?

查看:185
本文介绍了如何在页面底部创建Dock类型工具栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如 http://www.online-photoshoptutorials.com /2008/08/folding-corners.html

推荐答案

<div id="toolbar" style="position: fixed; bottom: 0px; left: 0px; width: 100%; color: #fff; background: #000;">
Toolbar Content 
<!-- rest of your toolbar stuff here -->
</div>

这将创建一个黑色背景的div,保留在屏幕底部,调整大小或滚动。然后,您可以为自己喜欢的div设置样式。

That will create a div with a black background that remains at the bottom of the screen, regardless of browser resizing or scrolling. You can then style that div however you like.

这篇关于如何在页面底部创建Dock类型工具栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆