CSS –从浏览器顶部到底部拉伸 UL
我正在尝试重新组织我的 WordPress 安装的后端。代码太多,无法实际粘贴到此处,但请访问此处:
实际链接已删除/wp-admin/
我想做的是将菜单向左拉伸,这样它就可以从将“注销”向下移动到浏览器的最底部。
不知道如何解决这个问题..
I'm trying to reorganize the backend of my Wordpress install. Too much code to actually paste here, but visit here:
Actual link removed/wp-admin/
What I'm trying to do is to stretch the menu to the left, so it goes all the way from the top to the bottom of the browser, and also move down "Log out" to the very bottom of the browser.
Don't know how to solve this..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你想让容器具有绝对位置,它本身应该是位置:固定100%高度
要按下注销按钮,它可以具有绝对位置和 0 的底部值。CSS
应类似于以下内容:
You want to make the container have position absolute, the itself should be position: fixed with 100% height
To push the log out button down it can have position absolute and a bottom value of 0.
CSS should be similar to the below: