开发者

Jsp unscrollable and fix menu

开发者 https://www.devze.com 2023-03-06 05:48 出处:网络
In my JSP page There is a menu with 14 options in the left side and menu description at the right side. I have created hyperlink in the same page on the menu click. Menu description has lengthy stuff.

In my JSP page There is a menu with 14 options in the left side and menu description at the right side. I have created hyperlink in the same page on the menu click. Menu description has lengthy stuff. And the size of the page is much more than the menu. My problem is when I click on any menu item at left excluding first menu item the page scrolls down and menu disappears. Is there can be any way to make the left side (menu) unscrollable, and fixed in the posi开发者_开发技巧tion. Only The right side of the page will scroll. Thanks.


There are several ways:

  1. make left div position:fixed
  2. make height of right div fix and give overflow:auto
0

精彩评论

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