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.
我有与页面垂直滚动的菜单,但是如果您将水平滚动条向右移动,它也会水平滚动,您会明白我的意思。
我需要消除水平滚动,只保持垂直,用css有什么简单的方法吗?
http://jsfiddle.net/NNnkU/4/
您需要在 100% 的 page_frame 中添加宽度,如下所示
.page_frame { background-color:#006600; color:#ffffff; width: 100%; }