Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有导航栏底部的 rails 应用程序。在没有很多内容的页面上,它在页面上的位置非常高。有没有办法给它的位置一个最大的垂直值?假设我想将栏的顶部保持在 750 像素。
将导航栏上方的所有内容放在一个封闭的 div 中,并在 CSS 中给它一个最小高度。