Twitter bootstrap - 固定布局与可滚动侧栏 [英] Twitter bootstrap - Fixed layout with scrollable sidebar
本文介绍了Twitter bootstrap - 固定布局与可滚动侧栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图使用twitter bootstrap实现一个简单的标题+ 2列布局。
I am trying to implement a simple header + 2 column layout using twitter bootstrap.
我有一个固定的头,宽度为100%,我现在试图有两个固定宽度的全高度列与独立的滚动条。有没有什么好的方法来做这个与twitter bootstrap?
I have a fixed header with 100% width, and I am now trying to have two fixed-width full-height columns with independent scrollbars. Is there any good way to do this with twitter bootstrap?
这是一个图片的布局,我试图建立
Here is a picture of the layout I am trying to build
推荐答案
使用引导程序的< 类。将div设置为某个固定的最大高度。它在美学上也很好。
Use bootstrap's 'pre-scrollable' class on your target div. Set div at some fixed max height. Its aesthetically good, as well.
这篇关于Twitter bootstrap - 固定布局与可滚动侧栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文