开发者

css sidebar should scroll vertically when content overflows

How do I need to modify this example so that if the its content is longer (in height) than the sidebar, then the sidebar shows the vertical scrol开发者_StackOverflow中文版lbar?

Thanks


div#left-sidebar { overflow-y: auto; }

hope that's what u wanted


Isn't it like this:

overflow-y: scroll;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜